Commit Graph

3 Commits

Author SHA1 Message Date
Simon Taylor
b87367d7de Use more meaningful variable names when an argument
Estimated hours taken: 2
Branches: main

compiler/typecheck.m:
	Use more meaningful variable names when an argument
	has the same name in all clauses.

	Rename variables so that both arguments of
	a clause like `p(X, X).' are both called `X'
	in the debugger.

tests/debugger/print_goal.{m,inp,exp}:
	Add a test case.

tests/debugger/field_names.exp:
tests/debugger/interpreter.exp:
tests/invalid/aditi_update_mode_errors.err_exp:
tests/invalid/merge_ground_any.err_exp:
tests/invalid/polymorphic_unification.err_exp:
	Update expected output.
2002-06-21 16:47:36 +00:00
Simon Taylor
2d80a16623 Add echo on', register --quiet' and `context none' to
Estimated hours taken: 0.1
Branches: main

tests/debugger/print_goal.{inp,exp}:
	Add `echo on', `register --quiet' and `context none' to
	reduce the variability of the output.
2002-06-14 08:18:04 +00:00
Simon Taylor
dde6d49ef8 Fix a reversed test in my last change which caused a seg-fault
Estimated hours taken: 0.5
Branches: main

trace/mercury_trace_vars.c:
	Fix a reversed test in my last change which caused a seg-fault
	in `print goal' where the goal had multiple arguments.

tests/debugger/Mmakefile:
tests/debugger/print_goal.{m,inp,exp}:
	Test case.
2002-06-08 17:43:45 +00:00