Files
mercury/tests/invalid_make_int/bad_end_module.m
Zoltan Somogyi d352b33831 Fix a sixth batch of C# invalid test failures.
compiler/check_typeclass.m:
     Don't module qualify the names of type constructors in which are
     reporting a problem regarding typeclass constraints.

tests/invalid_make_int/bad_detism_category.{m,int_err_exp}:
tests/invalid_make_int/bad_end_module.{m,int_err_exp}:
tests/invalid_make_int/bad_existential_data_type.{m,int_err_exp}:
    Move these test cases here from tests/invalid_nodepend, since
    most of the errors they report are now diagnosed when making .int files.
    Delete the code leading to the two errors that do not fall into this
    category. One of those errors is still exercised by a remnant of the
    old moved test case, which is now undetermined_existential_data_type.m
    in tests/invalid_make_int; the other is exercised by other test cases
    that this diff does not touch.

tests/invalid_make_int/Mercury.options:
tests/invalid_make_int/Mmakefile:
    Add the moved test cases to the list of test case in this directory.

tests/invalid_nodepend/fundeps_unbound_in_ctor.err_exp:
tests/invalid_nodepend/type_vars.err_exp:
    Update these files to expect an unqualified type constructor name.

tests/invalid_nodepend/undetermined_existential_data_type.{m,err_exp}:
    Construct this copy by deleting from the old bad_existential_data_type.m
    all the code moved to tests/invalid_make_int.

tests/invalid_nodepend/Mmakefile:
    Delete the moved test case, and update the name of the remaining test case.
2023-10-28 01:34:33 +11:00

20 lines
563 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ft=mercury ts=4 sw=4 et
%---------------------------------------------------------------------------%
:- module bad_end_module.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
main(!IO) :-
io.write_line("hello world", !IO).
%---------------------------------------------------------------------------%
:- end_module bad_end_module_different_name.
%---------------------------------------------------------------------------%