Files
mercury/tests/invalid/errors.err_exp
Julien Fischer b8b132260c Expand more acronyms in error messages.
compiler/parse_type_defn.m:
     s/RHS/right hand side/ in a couple of error messages.

tests/invalid/errors.err_exp:
     Conform to the above change.
2017-03-15 19:46:16 +11:00

47 lines
2.7 KiB
Plaintext

errors.m:012: Error: module must start with a `:- module' declaration.
errors.m:012: Error: module `errors' should start with either an `:- interface'
errors.m:012: or an `:- implementation' declaration.
errors.m:012: The following assumes that the missing declaration is an
errors.m:012: `:- implementation' declaration.
errors.m:012: Warning: interface for module `errors' does not export anything.
errors.m:012: Warning: module `int' is imported using both `:- import_module'
errors.m:012: and `:- use_module' declarations.
errors.m:030: Error: `:- mode' declaration for predicate
errors.m:030: `errors.mode_declaration_without_pred_declaration'/0
errors.m:030: without corresponding `:- pred' declaration.
errors.m:034: Error: `:- mode' declaration for predicate
errors.m:034: `errors.missing_pred_declaration'/0
errors.m:034: without corresponding `:- pred' declaration.
errors.m:040: Error: clause for predicate
errors.m:040: `errors.clause_without_pred_or_mode_declaration'/0
errors.m:040: without corresponding `:- pred' declaration.
errors.m:051: Error: constructor `errors.a/0' for type
errors.m:051: `errors.type_with_multiply_defined_ctors/0' multiply defined.
errors.m:051: Error: constructor `errors.f/1' for type
errors.m:051: `errors.type_with_multiply_defined_ctors/0' multiply defined.
errors.m:053: In the first argument of function symbol `f' of the type
errors.m:053: `errors.du_type_which_references_undefined_type'/0:
errors.m:053: error: undefined type `undefined_type'/0.
errors.m:055: In definition of type
errors.m:055: `errors.eqv_type_which_references_undefined_type'/0:
errors.m:055: error: undefined type `undefined_type'/0.
errors.m:057: Error: circular equivalence type `errors.circular_eqv_type'/0.
errors.m:059: Error: circular equivalence type
errors.m:059: `errors.indirectly_circular_eqv_type_1'/0.
errors.m:060: Error: circular equivalence type
errors.m:060: `errors.indirectly_circular_eqv_type_2'/0.
errors.m:062: Error: free type parameter T in right hand side of type
errors.m:062: definition.
errors.m:063: Error: the type variable T occurs only in the right hand side of
errors.m:063: this type definition.
errors.m:077: In clause for predicate
errors.m:077: `errors.pred_with_unresolved_polymorphism'/0:
errors.m:077: warning: variable `Arg' occurs only once in this scope.
errors.m:092: In clause for predicate `errors.pred_with_singleton_vars'/1:
errors.m:092: warning: variable `X' occurs only once in this scope.
errors.m:101: In definition of type `errors.needs_qualification'/0:
errors.m:101: error: undefined type `state'/0.
errors.m:101: (Only fully module qualified names may refer to the entities
errors.m:101: defined in the module `io'.)
For more information, recompile with `-E'.