mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-29 00:04:55 +00:00
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.
50 lines
3.0 KiB
Plaintext
50 lines
3.0 KiB
Plaintext
multimode_syntax.m:015: Error: no clauses for function `func0'/0.
|
|
multimode_syntax.m:017: Error: clause for predicate `multimode_syntax.::'/2
|
|
multimode_syntax.m:017: without corresponding `:- pred' declaration.
|
|
multimode_syntax.m:017: In clause for predicate `::'/2:
|
|
multimode_syntax.m:017: in argument 1 of clause head:
|
|
multimode_syntax.m:017: error: the language construct `='/2 should be used as
|
|
multimode_syntax.m:017: a goal, not as an expression.
|
|
multimode_syntax.m:017: If you are trying to use a goal as a boolean
|
|
multimode_syntax.m:017: function, you should write `if <goal> then yes else
|
|
multimode_syntax.m:017: no' instead.
|
|
multimode_syntax.m:017: In clause for predicate `::'/2:
|
|
multimode_syntax.m:017: in argument 2 of clause head:
|
|
multimode_syntax.m:017: error: undefined symbol `out'/0.
|
|
multimode_syntax.m:022: In clause for function `multimode_syntax.func1'/1:
|
|
multimode_syntax.m:022: syntax error: some but not all arguments have mode
|
|
multimode_syntax.m:022: annotations.
|
|
multimode_syntax.m:023: In clause for function `multimode_syntax.func1'/1:
|
|
multimode_syntax.m:023: syntax error: some but not all arguments have mode
|
|
multimode_syntax.m:023: annotations.
|
|
multimode_syntax.m:029: In clause for function `func2'/2:
|
|
multimode_syntax.m:029: error: mode annotation specifies undeclared mode
|
|
multimode_syntax.m:029: `func2(in, out) = out'.
|
|
multimode_syntax.m:029: The declared mode for this function is:
|
|
multimode_syntax.m:029: :- mode func2(in, in) = out is det.
|
|
multimode_syntax.m:031: In clause for function `func2'/2:
|
|
multimode_syntax.m:031: error: mode annotation specifies undeclared mode
|
|
multimode_syntax.m:031: `func2(out, in) = out'.
|
|
multimode_syntax.m:031: The declared mode for this function is:
|
|
multimode_syntax.m:031: :- mode func2(in, in) = out is det.
|
|
multimode_syntax.m:033: In clause for function `func2'/2:
|
|
multimode_syntax.m:033: error: mode annotation specifies undeclared mode
|
|
multimode_syntax.m:033: `func2(out, out) = out'.
|
|
multimode_syntax.m:033: The declared mode for this function is:
|
|
multimode_syntax.m:033: :- mode func2(in, in) = out is det.
|
|
multimode_syntax.m:037: In clause for function `func2b'/2:
|
|
multimode_syntax.m:037: error: mode annotation specifies undeclared mode
|
|
multimode_syntax.m:037: `func2b(in, out) = out'.
|
|
multimode_syntax.m:037: The declared mode for this function is:
|
|
multimode_syntax.m:037: :- mode func2b(in, in) = out is det.
|
|
multimode_syntax.m:041: In clause for predicate `pred2b'/2:
|
|
multimode_syntax.m:041: error: mode annotation specifies undeclared mode
|
|
multimode_syntax.m:041: `pred2b(in, out)'.
|
|
multimode_syntax.m:041: (There are no declared modes for this predicate.)
|
|
multimode_syntax.m:049: In clause for predicate `multimode_syntax.test2'/2:
|
|
multimode_syntax.m:049: syntax error: some but not all arguments have mode
|
|
multimode_syntax.m:049: annotations.
|
|
multimode_syntax.m:051: In clause for predicate `multimode_syntax.test2'/2:
|
|
multimode_syntax.m:051: syntax error: some but not all arguments have mode
|
|
multimode_syntax.m:051: annotations.
|