mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
Estimated hours taken: 5 Branches: main Avoid bug #54. compiler/follow_code.m: Don't move existentially typed deconstructions into branched control structures. If they were moved, there would be more than one origin for the type(class)_infos produced by the deconstruction, and the rtti_varmaps structure is not able to handle this. tests/hard_coded/Mmakefile: tests/hard_coded/follow_code_bug.exp: tests/hard_coded/follow_code_bug.m: tests/hard_coded/follow_code_bug_2.exp: tests/hard_coded/follow_code_bug_2.m: Two new test cases.
4 lines
17 B
Plaintext
4 lines
17 B
Plaintext
41
|
|
forty-one
|
|
foo
|