Commit Graph

5 Commits

Author SHA1 Message Date
Simon Taylor
5d287d5c44 This set of changes was posted a while ago by Zoltan
Estimated hours taken: 0.1

This set of changes was posted a while ago by Zoltan
but not committed.

tests/debugger/interpreter.exp:
tests/hard_coded/construct.exp:
tests/hard_coded/deep_copy_bug.exp:
tests/hard_coded/expand.exp:
tests/hard_coded/write.exp:
tests/hard_coded/write_reg1.exp:
	Update the expected outcomes to reflect the changes
	to vars and varsets.

	tests/debugger/interpreter.exp2 will need to be updated later.
1998-12-04 01:11:14 +00:00
Tyson Dowd
ce138aef0b Add module qualifiers to names generated by the function
std_util:type_name/1.

compiler/base_type_info.m:
compiler/polymorphism.m:
library/mercury_builtin.m:
	Add module names to base_type_infos.

library/io.m:
library/term.m:
	Check module names as well as type names for special cases.
	Add module qualifiers to terms that represent types
	(That is, when converting type_infos to terms).

library/std_util.m:
	Add type_ctor_module_name/1, add an argument to
	type_ctor_name_and_arity for the module name.
	Add module qualifiers to the name returned by type_name.

runtime/type_info.h:
	Define the offset fo type module names, add
	MR_TYPECTOR_GET_HOT_MODULE_NAME and
	MR_BASE_TYPEINFO_GET_TYPE_MODULE_NAME

tests/hard_coded/higher_order_type_manip.exp:
tests/hard_coded/write.exp:
tests/hard_coded/write_reg1.exp:
	Update test case expected output with module qualifiers where needed.
1997-08-05 04:38:19 +00:00
Fergus Henderson
551193c5b4 Change the expected output for writing out values of type `var'.
Estimated hours taken: 0.5

tests/hard_coded/write.exp:
tests/hard_coded/write_reg1.exp:
	Change the expected output for writing out values of type `var'.
	Previously, due to a bug (compare_type_info didn't expand
	equivalence types), values of type `var' were incorrectly
	output in quotes (as if they were atoms) rather than outputting
	them as ints.
1997-05-26 07:57:56 +00:00
Fergus Henderson
52767a5481 Update the test cases to reflect recent changes to io__write.
Estimated hours taken: 1

Update the test cases to reflect recent changes to io__write.

test/hard_coded/construct.m:
test/hard_coded/expand.m:
	Use `io__print' rather than `io__write' for univs,
	so that it doesn't output the `univ(... : type)' wrappers.

tests/hard_coded/deep_copy_bug.exp:
tests/hard_coded/construct.exp:
tests/hard_coded/expand.exp:
tests/hard_coded/write.exp:
tests/hard_coded/write_reg1.exp:
	Change the expected output to use proper list notation
	rather than prefix `.', and to properly quote strings and atoms,
	but also to improperly quote equivalences types.

tests/hard_coded/Mmake:
	Add a comment explaining that deep_copy_bug.exp, write.exp, and
	write_reg1.exp are wrong, due to a bug in io__write.
1997-04-28 15:52:30 +00:00
Tyson Dowd
f656c3896c Regresion test.
Estimated hours taken: 2

Regresion test.

tests/hard_coded/write_reg1.m:
tests/hard_coded/write_reg1.exp:
	Check that io__write handles output stream changes correctly.
1997-01-14 01:36:24 +00:00