fix for const eval

This commit is contained in:
Johann Klammer 2017-02-11 20:47:01 +01:00 committed by Stephen Williams
parent 221084d838
commit 8bccbe7cb5
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ bool PGenerate::generate_scope_loop_(Design*des, NetScope*container)
container->genvar_tmp_val = genvar;
delete step;
delete test_ex;
test_ex = elab_and_eval(des, container, loop_test, -1);
test_ex = elab_and_eval(des, container, loop_test, -1, true);
test = dynamic_cast<NetEConst*>(test_ex);
assert(test);
}