mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 20:03:44 +00:00
Branches: main
Treat trace goals like impure goals for these passes.
compiler/constraint.m:
Do not propagate constraints into or past trace goals.
compiler/simplify.m:
Do not replace trace goals by `fail' or `true'.
Make the predicate `goal_contains_trace' do what its name suggests.
Previously it would only ever strip `feature_contains_trace' features
from all goals and then return `contains_no_trace_goal'.
tests/hard_coded/Mmakefile:
tests/hard_coded/trace_goal_4.exp:
tests/hard_coded/trace_goal_4.m:
Add test case.
3 lines
40 B
Plaintext
3 lines
40 B
Plaintext
Progress reported 1
|
|
Progress reported 2
|