Files
mercury/tests/debugger/declarative/dependency2.exp
Zoltan Somogyi 00741b0162 This diff contains no algorithmic changes.
Estimated hours taken: 6
Branches: main

This diff contains no algorithmic changes. It merely renames apart a bunch more
function symbols to reduce ambiguity.

After this diff, the summary line from the mdb command "ambiguity -f" is

	Total: 351 names used 975 times, maximum 31, average: 2.78

browser/*.m:
compiler/*.m:
	Rename function symbols to eliminate ambiguities.

tests/debugger/declarative/dependency.exp:
tests/debugger/declarative/dependency2.exp:
	Update the expected out where some internal function symbol names
	appear in the output of the debugger. (This output is meant for
	implementors only.)
2006-08-22 05:04:29 +00:00

35 lines
1.0 KiB
Plaintext

1: 1 1 CALL pred dependency2.main/2-0 (cc_multi) dependency2.m:11
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> break dependency2__test
0: + stop interface pred dependency2.test/1-0 (cc_multi)
mdb> continue
4: 3 2 CALL pred dependency2.test/1-0 (cc_multi) dependency2.m:19 (dependency2.m:13)
mdb> finish
18: 3 2 EXIT pred dependency2.test/1-0 (cc_multi) dependency2.m:19 (dependency2.m:13)
mdb> dd -d 3 -n 7
test([1, 3, 6, 1, 3])
Valid? browse 1
browser> ^2^1
browser> mark
Origin: output(r, any_head_var_from_back(1), [1])
r(1, [3, 4], 3 - 4)
Valid? browse 2
browser> print
[3, 4]
browser> mark
Origin: origin_primitive_op("dependency2.m", 29, primop_unification)
p(1)
Valid? yes
Origin: origin_primitive_op("dependency2.m", 29, primop_unification)
q(no)
Valid? yes
Found inadmissible call:
Parent test(_)
Call r(1, [3, 4], _)
Is this a bug? yes
18: 3 2 EXIT pred dependency2.test/1-0 (cc_multi) dependency2.m:19 (dependency2.m:13)
mdb> continue
[1, 3, 6, 1, 3].