Files
mercury/tests/warnings/bug311.exp
Zoltan Somogyi c03b11ca48 Update the style of more test cases.
And updated expected outputs for changed line numbers.
2021-07-27 19:29:21 +10:00

28 lines
1.8 KiB
Plaintext

bug311.m:167: Warning: this disjunction further instantiates the already
bug311.m:167: partially instantiated variable G.
bug311.m:167: Since the memory cell of this variable is allocated *before*
bug311.m:167: the disjunction, the different disjuncts will return their
bug311.m:167: potentially different solutions for this variable in the same
bug311.m:167: memory cell, which will cause any all-solutions predicate to
bug311.m:167: think that the different solutions (since they are at the same
bug311.m:167: address) are in fact all the same when invoked on the
bug311.m:167: procedure.
bug311.m:185: Warning: this disjunction further instantiates the already
bug311.m:185: partially instantiated variables G1, G2 and G3.
bug311.m:185: Since the memory cells of these variables are allocated
bug311.m:185: *before* the disjunction, the different disjuncts will return
bug311.m:185: their potentially different solutions for each of these
bug311.m:185: variables in the same memory cell, which will cause any
bug311.m:185: all-solutions predicate to think that the different solutions
bug311.m:185: (since they are at the same address) are in fact all the same
bug311.m:185: when invoked on the procedure.
bug311.m:201: Warning: this disjunction further instantiates the already
bug311.m:201: partially instantiated variable GG.
bug311.m:201: Since the memory cell of this variable is allocated *before*
bug311.m:201: the disjunction, the different disjuncts will return their
bug311.m:201: potentially different solutions for this variable in the same
bug311.m:201: memory cell, which will cause any all-solutions predicate to
bug311.m:201: think that the different solutions (since they are at the same
bug311.m:201: address) are in fact all the same when invoked on the lambda
bug311.m:201: expression in bug311.m at line 195.