mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
Estimated hours taken: 4 compiler/inlining.m: When inlining calls, use the goalinfo from the body of the callee rather than the goalinfo from the call. This avoids some bugs which resulted from mismatches between the goal and its goalinfo; for example, the old code could lead to nondet unifications, or to calls to error/1 that don't have instmap delta going to unreachable. tests/hard_coded/Mmake: tests/hard_coded/error_func.m: tests/hard_coded/error_func.exp: Regression test for the above change.
2 lines
15 B
Plaintext
2 lines
15 B
Plaintext
Answer = 16472
|