Files
mercury/tests/invalid/arith_wrong_module.err_exp
Zoltan Somogyi b2f246ab07 Use proper capitalization.
compiler/typecheck_errors.m:
    Capitalize words at the starts of sentences.

tests/invalid/arith_wrong_module.err_exp:
tests/invalid/error_in_list.err_exp:
tests/invalid/ext_type.err_exp:
tests/invalid/ho_type_arity_bug.err_exp:
tests/invalid/integral_constant_no_suffix.err_exp:
tests/invalid/mpj1.err_exp:
tests/invalid/mpj4.err_exp:
tests/invalid/no_method.err_exp:
tests/invalid/nullary_ho_func_error.err_exp:
tests/invalid/types2.err_exp:
tests/invalid/user_field_access_decl_override_2.err_exp:
tests/invalid_nodepend/errors_2.err_exp:
tests/invalid_purity/impure_func_t5.err_exp:
tests/invalid_purity/impure_pred_t1.err_exp:
tests/invalid_purity/purity_type_error.err_exp:
    Expect updated diagnostics.
2024-05-23 23:54:56 +10:00

2.7 KiB

arith_wrong_module.m:022: In clause for predicate `test_func'/3:
arith_wrong_module.m:022: type error in unification of variable `C'
arith_wrong_module.m:022: and functor `+'/2.
arith_wrong_module.m:022: Variable `C' has type
arith_wrong_module.m:022: uint32,
arith_wrong_module.m:022: functor `+'/2 has type
arith_wrong_module.m:022: `+'(int, int): int.
arith_wrong_module.m:022: Note that operations on values of type `uint32' are
arith_wrong_module.m:022: available only if module `uint32' is imported.
arith_wrong_module.m:025: In clause for predicate `test_pred'/3:
arith_wrong_module.m:025: in call to predicate `int.pow'/3:
arith_wrong_module.m:025: in argument 1:
arith_wrong_module.m:025: variable `A' has type
arith_wrong_module.m:025: int16,
arith_wrong_module.m:025: expected type was
arith_wrong_module.m:025: int;
arith_wrong_module.m:025: in argument 2:
arith_wrong_module.m:025: variable `B' has type
arith_wrong_module.m:025: uint16,
arith_wrong_module.m:025: expected type was
arith_wrong_module.m:025: int;
arith_wrong_module.m:025: in argument 3:
arith_wrong_module.m:025: variable `C' has type
arith_wrong_module.m:025: int16,
arith_wrong_module.m:025: expected type was
arith_wrong_module.m:025: int.
arith_wrong_module.m:025: Note that operations on values of types `int16'
arith_wrong_module.m:025: `uint16' are available only if modules `int16' and
arith_wrong_module.m:025: `uint16' are imported.
arith_wrong_module.m:028: In clause for predicate `game_loop'/4:
arith_wrong_module.m:028: in unification of variable `Diff'
arith_wrong_module.m:028: and term `(End - Start)':
arith_wrong_module.m:028: type error in arguments of functor `-'/2.
arith_wrong_module.m:028: Argument 1 (End) has type
arith_wrong_module.m:028: int64,
arith_wrong_module.m:028: expected type was
arith_wrong_module.m:028: int.
arith_wrong_module.m:028: Argument 2 (Start) has type
arith_wrong_module.m:028: int64,
arith_wrong_module.m:028: expected type was
arith_wrong_module.m:028: int.
arith_wrong_module.m:028: Note that operations on values of type `int64' are
arith_wrong_module.m:028: available only if module `int64' is imported.
For more information, recompile with `-E'.