Files
mercury/tests/invalid/bug476.err_exp
Zoltan Somogyi dadb0e4970 Don't repeat info unnecessarily in diagnostics.
compiler/make_hlds_error.m:
    When generating a message about a duplicate definition, do not repeat
    the entity's name in the "here is the previous definition" part
    of the message.

tests/invalid/bug476.err_exp:
tests/invalid/user_field_access_decl_conflict.err_exp:
tests/invalid_nodepend/invalid_typeclass.err_exp:
    Expect updated diagnostics.
2024-06-02 14:54:34 +10:00

510 B

bug476.m:059: In instance declaration for `input_stream(jinput_stream)':
bug476.m:059: error: the type class has no predicate method named `mark'/4.
bug476.m:068: Error: the predicate `bug476.mark'/4 is multiply defined.
bug476.m:034: Here is its previous definition.
bug476.m:070: Error: clause for predicate `input_stream_mark'/3 without a
bug476.m:070: corresponding `:- pred' declaration.