stage3/narrow_candidate_datatypes.cc
changeset 427 eb9bc99944d9
parent 426 78f31e12fc52
child 428 42d02558ebd9
--- a/stage3/narrow_candidate_datatypes.cc	Sun Feb 05 19:09:12 2012 +0000
+++ b/stage3/narrow_candidate_datatypes.cc	Mon Feb 06 14:10:22 2012 +0000
@@ -739,12 +739,13 @@
 
 	if (NULL != selected_type) {
 		symbol->l_exp->datatype = selected_type;
-		symbol->l_exp->accept(*this);
 		symbol->r_exp->datatype = selected_type;
-		symbol->r_exp->accept(*this);
 	}
 	else
 		ERROR;
+
+	symbol->l_exp->accept(*this);
+	symbol->r_exp->accept(*this);
 	return NULL;
 }