mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 11:54:02 +00:00
tests/warnings/*.m:
Bring the programming style of these modules up to date,
except where the problem being tested for seems to be related
to the old programming style
In the infinite_recursion test case, add code that we *should*
warn about, but currently don't.
tests/warnings/*.m:
Update the expected outputs to account for the changes in line
numbers, and the fact that the compiler computes the contexts
of (if C then T else E) if-then-elses differently from (C -> T; E)
if-then-else (it takes the context of the "then" vs the context
of the ";").
Delete arg_order_rearrangment.exp2. It was long unused, but
deleting it in CVS would not have allowed us to put it back later.
15 lines
867 B
Plaintext
15 lines
867 B
Plaintext
warn_non_contiguous.m:044: Warning: non-contiguous clauses for predicate `p'/2.
|
|
warn_non_contiguous.m:049: Gap in clauses of predicate `p'/2 starts after
|
|
warn_non_contiguous.m:049: this clause.
|
|
warn_non_contiguous.m:054: Gap in clauses of predicate `p'/2 ends with this
|
|
warn_non_contiguous.m:054: clause.
|
|
warn_non_contiguous.m:052: Warning: non-contiguous clauses for predicate `q'/2.
|
|
warn_non_contiguous.m:046: Gap 1 in clauses of predicate `q'/2 starts after
|
|
warn_non_contiguous.m:046: this clause.
|
|
warn_non_contiguous.m:050: Gap 1 in clauses of predicate `q'/2 ends with this
|
|
warn_non_contiguous.m:050: clause.
|
|
warn_non_contiguous.m:050: Gap 2 in clauses of predicate `q'/2 starts after
|
|
warn_non_contiguous.m:050: this clause.
|
|
warn_non_contiguous.m:055: Gap 2 in clauses of predicate `q'/2 ends with this
|
|
warn_non_contiguous.m:055: clause.
|