mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-25 22:34:26 +00:00
compiler/add_type.m:
compiler/purity.m:
compiler/simplify_goal_call.m:
compiler/simplify_goal_disj.m:
compiler/typecheck_error_undef.m:
compiler/unused_args.m:
Improve the wording of some warnings, and add color to some others.
tests/invalid_purity/impure_func_t3.err_exp:
tests/warnings/bug311.err_exp:
tests/warnings/purity_warnings.err_exp:
tests/warnings/simple_code.err_exp:
tests/warnings/subtype_order.err_exp:
tests/warnings/unused_args_test.err_exp:
tests/warnings/warn_stubs.err_exp:
Expect the updated warnings.
2.0 KiB
2.0 KiB
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.
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.