[qfcc] Check implicit is the same for dagged values

Not doing so results in subtle bugs such as implicit constants becoming
explicit behind the programmer's back.
This commit is contained in:
Bill Currie 2025-01-03 03:05:27 +09:00
parent 0137b99ae4
commit fd836e74e1

View file

@ -141,7 +141,7 @@ edag_add_expr (const expr_t *expr)
} }
break; break;
case ex_value: case ex_value:
if (e->value == expr->value) { if (e->value == expr->value && e->implicit == expr->implicit) {
return e; return e;
} }
break; break;