Files
mercury/tests/declarative_debugger/special_term_dep.exp
Zoltan Somogyi ecb5e4a9e6 Update the style of many test cases.
tests/declarative_debugger/*.m:
tests/exceptions/*.m:
tests/general/*.m:
tests/grade_subdirs/*.m:
tests/purity/*.m:
tests/submodules/*.m:
tests/typeclasses/*.m:
    Update programming style.

tests/declarative_debugger/*.inp:
    Update line numbers in breakpoint commands.
tests/declarative_debugger/*.exp:
    Update expected line numbers.

tests/exceptions/Mercury.options:
tests/general/Mercury.options:
    Disable some warnings that are irrelevant to the test.
2021-07-25 23:26:17 +10:00

45 lines
1.3 KiB
Plaintext

E1: C1 CALL pred special_term_dep.main/2-0 (det) special_term_dep.m:16
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> break p
0: + stop interface pred special_term_dep.p/1-0 (det)
mdb> break q
1: + stop interface pred special_term_dep.q/2-0 (semidet)
mdb> continue
E2: C2 CALL pred special_term_dep.p/1-0 (det) special_term_dep.m:31 (special_term_dep.m:25)
mdb> finish
E3: C2 EXIT pred special_term_dep.p/1-0 (det) special_term_dep.m:31 (special_term_dep.m:25)
mdb> dd -d 3 -n 7
p([2, 3])
Valid? browse 1
browser> mark
pa([2, 3])
Valid? yes
Found incorrect contour:
pa([2, 3])
p([2, 3])
Is this a bug? yes
E3: C2 EXIT pred special_term_dep.p/1-0 (det) special_term_dep.m:31 (special_term_dep.m:25)
mdb> continue
[2, 3]
E4: C3 CALL pred special_term_dep.q/2-0 (semidet) special_term_dep.m:56 (special_term_dep.m:48)
mdb> finish
E5: C3 EXIT pred special_term_dep.q/2-0 (semidet) special_term_dep.m:56 (special_term_dep.m:48)
mdb> dd -d 3 -n 7
q([1, 2], [3])
Valid? browse 2
browser> mark
qb([1, 2], [3])
Valid? browse 1
browser> mark
qa([1, 2])
Valid? yes
Found inadmissible call:
Parent q([1, 2], _)
Call qb([1, 2], _)
Is this a bug? yes
E5: C3 EXIT pred special_term_dep.q/2-0 (semidet) special_term_dep.m:56 (special_term_dep.m:48)
mdb> continue
[3]