Files
mercury/tests/debugger/ambiguity.exp
Zoltan Somogyi 33eb3028f5 Clean up the tests in half the test directories.
tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
    Make these tests use four-space indentation, and ensure that
    each module is imported on its own line. (I intend to use the latter
    to figure out which subdirectories' tests can be executed in parallel.)

    These changes usually move code to different lines. For the debugger tests,
    specify the new line numbers in .inp files and expect them in .exp files.
2015-02-14 20:14:03 +11:00

38 lines
630 B
Plaintext

E1: C1 CALL pred ambiguity.main/2-0 (det) ambiguity.m:28
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> ambiguity ambiguity
Ambiguous procedure names:
pred ambiguity.p/2
func ambiguity.p/1
func ambiguity.p/2
func ambiguity.p/3
Total: 1 names used 4 times, maximum 4, average: 4.00
Ambiguous type names:
ambiguity.t/0
ambiguity.t/1
Total: 1 names used 2 times, maximum 2, average: 2.00
Ambiguous function symbols:
t1/0 ambiguity.t/0
t1/1 ambiguity.t2/0
t1/2 ambiguity.t2/0
u1/0 ambiguity.t/1
u1/1 ambiguity.t2/0
Total: 2 names used 5 times, maximum 3, average: 2.50
mdb> continue
2.5
t1
u2(42)
1