Files
mercury/tests/invalid/partial_implied_mode.err_exp
Simon Taylor 47c8617b8e Added `set_goal_contexts', which sets all the contexts
Estimated hours taken: 1

compiler/hlds_goal.m:
	Added `set_goal_contexts', which sets all the contexts
	of the goal_infos of the sub-goals of a goal.

compiler/unify_proc.m:
	Use `set_goal_contexts' to ensure that error messages
	for automatically generated procedures have a useful context.

tests/invalid/partial_implied_mode.err_exp:
	Update the expected output.
1999-06-16 00:39:24 +00:00

7 lines
967 B
Plaintext

partial_implied_mode.m:033: In clause for `'__Unify__'((unique(partial_implied_mode2:physic_quantity(ground, free, unique(partial_implied_mode2:absol(free, free)))) -> bound(partial_implied_mode2:physic_quantity(ground, ground, bound(partial_implied_mode2:absol(ground, ground))))), (ground -> bound(partial_implied_mode2:physic_quantity(ground, ground, bound(partial_implied_mode2:absol(ground, ground))))))':
partial_implied_mode.m:033: mode error in unification of `V_1' and `partial_implied_mode2:physic_quantity(V_9, V_4, V_10)'.
partial_implied_mode.m:033: Variable `V_1' has instantiatedness `unique(partial_implied_mode2:physic_quantity(ground, free, unique(partial_implied_mode2:absol(free, free))))',
partial_implied_mode.m:033: term `partial_implied_mode2:physic_quantity(V_9, V_4, V_10)'
partial_implied_mode.m:033: has instantiatedness `partial_implied_mode2:physic_quantity(free, ground, free)'.
For more information, try recompiling with `-E'.