Files
mercury/tests/invalid/field_syntax_error.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

32 lines
1.9 KiB
Plaintext

field_syntax_error.m:018: In clause for function `baz'/1:
field_syntax_error.m:018: in function result term of clause head:
field_syntax_error.m:018: error: invalid use of field selection operator
field_syntax_error.m:018: (`^').
field_syntax_error.m:018: In clause for function `field_syntax_error.baz'/1:
field_syntax_error.m:018: warning: variable `Bar' occurs only once in this
field_syntax_error.m:018: scope.
field_syntax_error.m:019: In clause for function `baz2'/1:
field_syntax_error.m:019: in function result term of clause head:
field_syntax_error.m:019: error: invalid use of field selection operator
field_syntax_error.m:019: (`^').
field_syntax_error.m:020: In clause for function `baz3'/1:
field_syntax_error.m:020: in function result term of clause head:
field_syntax_error.m:020: error: invalid use of field update operator (`:=').
field_syntax_error.m:020: In clause for function `baz3'/1:
field_syntax_error.m:020: in function result term of clause head:
field_syntax_error.m:020: in argument 1 of functor `:=/2':
field_syntax_error.m:020: error: invalid use of field selection operator
field_syntax_error.m:020: (`^').
field_syntax_error.m:020: In clause for function `field_syntax_error.baz3'/1:
field_syntax_error.m:020: warning: variable `Bar' occurs only once in this
field_syntax_error.m:020: scope.
field_syntax_error.m:021: In clause for function `baz4'/1:
field_syntax_error.m:021: in function result term of clause head:
field_syntax_error.m:021: error: invalid use of field update operator (`:=').
field_syntax_error.m:021: In clause for function `baz4'/1:
field_syntax_error.m:021: in function result term of clause head:
field_syntax_error.m:021: in argument 1 of functor `:=/2':
field_syntax_error.m:021: error: invalid use of field selection operator
field_syntax_error.m:021: (`^').
For more information, recompile with `-E'.