Files
mercury/tests/hard_coded/disjs_in_switch.exp
Zoltan Somogyi c31be3d6ac Fix a limitation: recognize switches in which *all* arms contain
Estimated hours taken: 0.5
Branches: main

compiler/switch_detection.m:
	Fix a limitation: recognize switches in which *all* arms contain
	not a single unification of the switched-on variable but a disjunction
	of such unifications.

	Fix some misleading variable names.

tests/hard_coded/disjs_in_switch.{m,exp}:
	Add a test case for this bug.

tests/hard_coded/Mmakefile:
	Enable the new test case.
2006-04-07 01:32:58 +00:00

5 lines
28 B
Plaintext