mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
1: 1 1 CALL pred ite_2.main/2-0 (cc_multi) ite_2.m:14
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break ite_2.ite
|
|
Ambiguous procedure specification. The matches are:
|
|
0: pred ite_2.ite/3-0 (det)
|
|
1: pred ite_2.ite/3-1 (multi)
|
|
|
|
Which do you want to put a breakpoint on (0-1 or *)? *
|
|
0: + stop interface pred ite_2.ite/3-0 (det)
|
|
1: + stop interface pred ite_2.ite/3-1 (multi)
|
|
mdb> continue
|
|
2: 2 2 CALL pred ite_2.ite/3-0 (det) ite_2.m:27 (ite_2.m:15)
|
|
mdb> finish
|
|
13: 2 2 EXIT pred ite_2.ite/3-0 (det) ite_2.m:27 (ite_2.m:15)
|
|
mdb> dd -d 3 -n 7
|
|
ite(a, 1, 1)
|
|
Valid? no
|
|
a(1, 1)
|
|
Valid? yes
|
|
Call >(1, 1)
|
|
Unsatisfiable? yes
|
|
c(1, 1)
|
|
Valid? yes
|
|
Found incorrect contour:
|
|
c(1, 1)
|
|
ite(a, 1, 1)
|
|
Is this a bug? yes
|
|
13: 2 2 EXIT pred ite_2.ite/3-0 (det) ite_2.m:27 (ite_2.m:15)
|
|
mdb> continue
|
|
14: 7 2 CALL pred ite_2.ite/3-1 (multi) ite_2.m:27 (ite_2.m:16)
|
|
mdb> finish
|
|
35: 7 2 EXIT pred ite_2.ite/3-1 (multi) ite_2.m:27 (ite_2.m:16)
|
|
mdb> dd -d 3 -n 7
|
|
ite(b, 1, 1)
|
|
Valid? no
|
|
b(1, 0)
|
|
Valid? yes
|
|
Call >(0, 1)
|
|
Unsatisfiable? yes
|
|
b(1, 1)
|
|
Valid? yes
|
|
Call b(1, _)
|
|
Solutions:
|
|
b(1, 0)
|
|
b(1, 1)
|
|
Complete? yes
|
|
Found incorrect contour:
|
|
c(1, 1)
|
|
ite(b, 1, 1)
|
|
Is this a bug? yes
|
|
35: 7 2 EXIT pred ite_2.ite/3-1 (multi) ite_2.m:27 (ite_2.m:16)
|
|
mdb> continue
|
|
ite(a, 1, 1).
|
|
ite(b, 1, 1).
|
|
|