Files
mercury/tests/invalid/one_member.err_exp
Zoltan Somogyi fdd141bf77 Clean up the tests in the other test directories.
tests/invalid/*.{m,err_exp}:
tests/misc_tests/*.m:
tests/mmc_make/*.m:
tests/par_conj/*.m:
tests/purity/*.m:
tests/stm/*.m:
tests/string_format/*.m:
tests/structure_reuse/*.m:
tests/submodules/*.m:
tests/tabling/*.m:
tests/term/*.m:
tests/trailing/*.m:
tests/typeclasses/*.m:
tests/valid/*.m:
tests/warnings/*.{m,exp}:
    Make these tests use four-space indentation, and ensure that
    each module is imported on its own line. (I intend to use the latter
    to figure out which subdirectories' tests can be executed in parallel.)

    These changes usually move code to different lines. For the tests
    that check compiler error messages, expect the new line numbers.

browser/cterm.m:
browser/tree234_cc.m:
    Import only one module per line.

tests/hard_coded/boyer.m:
    Fix something I missed.
2015-02-16 12:32:18 +11:00

27 lines
1.7 KiB
Plaintext

one_member.m:046: Error: this `arbitrary' scope is not nested inside a
one_member.m:046: `promise_equivalent_solution_sets' scope.
one_member.m:049: In `one_member2'(in, out):
one_member.m:049: warning: determinism declaration could be tighter.
one_member.m:049: Declared `nondet', inferred `semidet'.
one_member.m:053: Error: the `arbitrary' goal lists an extra variable: Tree.
one_member.m:053: Error: this `arbitrary' scope and the
one_member.m:053: `promise_equivalent_solution_sets' scope it is nested
one_member.m:053: inside overlap on the variable Item.
one_member.m:052: This is the outer `promise_equivalent_solution_sets' scope.
one_member.m:054: Error: unification for non-canonical type
one_member.m:054: `one_member.set_ctree234'/1 occurs in a context which
one_member.m:054: requires all solutions.
one_member.m:054: Since the type has a user-defined equality predicate, I
one_member.m:054: must presume that there is more than one possible concrete
one_member.m:054: representation for each abstract value of this type. The
one_member.m:054: results of this unification might depend on the choice of
one_member.m:054: concrete representation. Finding all possible solutions to
one_member.m:054: this unification would require backtracking over all
one_member.m:054: possible representations, but I'm not going to do that
one_member.m:054: implicitly. (If that's really what you want, you must do it
one_member.m:054: explicitly.)
one_member.m:055: Call to do_one_member can fail.
one_member.m:063: Error: `promise_equivalent_solution_sets' scope is nested
one_member.m:063: inside another.
one_member.m:062: This is the outer `promise_equivalent_solution_sets' scope.