Commit Graph

10 Commits

Author SHA1 Message Date
Simon Taylor
0ceed741d1 Bug fixes for higher_order.m and unused_args.m
Estimated hours taken: 8

Bug fixes for higher_order.m and unused_args.m

NEWS
	Removed the message about bugs in unused_args.m and higher_order.m

compiler/options.m
	Re-enabled higher_order and unused_args.

compiler/unused_args.m
	Fixed so that this now handles partially instantiated
	deconstructions correctly.

compiler/higher_order.m
	Two bug fixes:
	Specialization of types for specialized versions of predicates.
	Fixed handling of curried arguments.

compiler/inlining.m, compiler/type_util.m:
	Moved inlining:apply_substitution_to_type_map and
	inlining:apply_rec_substitution_to_type_map to type_util.m
	for use in the higher_order.m bug fix.

library/varset.m
	Added predicate varset__new_vars which returns a list of new
	variables.

library/term.m
	Added predicates term__apply_variable_renaming(_to_list)
	to apply a variable renaming (map(var, var)) to a term
	or list of terms.

library/map.m
	Added map__det_insert_from_corresponding_lists to insert
	multiple key-value pairs into a map.

tests/valid/{Mmake, higher_order2.m, higher_order3.m, unused_args_test2.m}
	Tests for the bug fixes.
1996-04-24 05:21:50 +00:00
Thomas Conway
19ed69094e Some tests for nondet-liveness.
Estimated hours taken: 0.2

Some tests for nondet-liveness.

tests/valid/nondet_live.m:
	A new test case that tests some nondet-live cases.
1996-01-04 01:59:13 +00:00
David Jeffery
dc31460341 Added a test for the case where there are pragma(c_code, ...) decs for different
Estimated hours taken: 0.5

Added a test for the case where there are pragma(c_code, ...) decs for different
modes of the same pred.

two_pragma_c_codes.m :
	Added above test case.
1995-11-20 09:33:44 +00:00
Fergus Henderson
fa77e70a46 General cleanup of the test suite directories.
tests/valid/*:
	Renamed `*.nl' as `*.m'.
	Added a few new test cases.
	Removed a couple of duplicate test cases.
	Fixed up the Mmake file so that `mmake check' now works.
1995-11-14 08:03:46 +00:00
Fergus Henderson
150d1d1404 Use mmake.
tests/*
	Use mmake.
	Use main/2 rather than main_predicate/3.
1995-03-18 15:57:10 +00:00
Fergus Henderson
5d707d7207 Added some test cases for determinism analyss of complicated
tests/valid/determinism.nl:
	Added some test cases for determinism analyss of complicated
	unifications.
1994-12-14 05:59:14 +00:00
Fergus Henderson
f84cf9ff52 Added some more test cases. 1994-10-13 22:03:30 +00:00
Fergus Henderson
08e7e85d41 Various minor changes; added a bunch of new test files.
tests/valid/*:
	Various minor changes; added a bunch of new test files.
1994-10-02 16:43:18 +00:00
Fergus Henderson
2801c88864 Various minor fixes including, adding a Makefile.
tests/valid/*:
	Various minor fixes including, adding a Makefile.
1994-09-01 06:11:09 +00:00
Fergus Henderson
5468d2b766 Add the beginnings of a test suite directory. 1994-08-27 20:08:00 +00:00