Files
mercury/tests/invalid/bad_module_name.m
Peter Wang 2dbf279ff9 Only search for source file matching fully qualified module name.
Delete now-obsolete code to search for a module in files matching
partially qualified versions of the module name.

compiler/find_module.m:
    As above.

compiler/read_modules.m:
compiler/write_deps_file.m:
    Conform to changes.

tests/invalid/bad_module_name.err_exp
tests/invalid/bad_module_name.m
tests/invalid/bad_module_name_sub.m -> tests/invalid/bad_module_name.sub.m:
    Rename sub-module and its source file so that the source file will
    be found.
2020-01-13 17:25:55 +11:00

11 lines
139 B
Mathematica

% vim: ts=4 sw=4 et ft=mercury
:- module bad_module_name.
:- interface.
:- type t
---> f1
; f2.
:- include_module sub.