Files
mercury/tests/hard_coded/follow_code_bug_2.exp
Mark Brown 6b14c758eb Avoid bug #54.
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.
2008-03-26 11:02:16 +00:00

4 lines
17 B
Plaintext