Files
mercury/tests/hard_coded/solver_construction_init_test.exp
Ralph Becket 1455530ca8 Allow the initialisation of solver type variables in constructions.
Estimated hours taken: 12
Branches: main, release

Allow the initialisation of solver type variables in constructions.

compiler/modecheck_unify.m:
	Disallow partial constructions (i.e. where one or more arguments
	has inst free).  Instead, if we are currently inserting variable
	initialisation calls and all arguments of a construction are
	solver types, then insert initialisation calls for them.

compiler/modes.m:
	Export construction_initialisation_goals.

library/list.m:
	Comment out the modes of list__same_length using
	output_list_skel (lists of free items).  They break
	under this change and are anyway unusable.

tests/hard_coded/Mmakefile:
tests/hard_coded/solver_construction_init_test.m:
tests/hard_coded/solver_construction_init_test.exp:
	Added a test case.
2005-03-15 02:51:26 +00:00

2 lines
14 B
Plaintext