mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 18:03:36 +00:00
tests/invalid/*.m:
Rename modules as mentioned above.
Update all references to the moved modules.
tests/hard_coded/Mmakefile:
tests/hard_coded/Mercury.options:
Update all references to the moved modules.
21 lines
526 B
Mathematica
21 lines
526 B
Mathematica
%-----------------------------------------------------------------------------%
|
|
% vim: ft=mercury ff=unix ts=4 sw=4 et
|
|
%-----------------------------------------------------------------------------%
|
|
|
|
:- module bug521.
|
|
:- interface.
|
|
|
|
% :- import_module list. % Missing module import causes the error
|
|
|
|
:- type thing
|
|
---> thing_a
|
|
; thing_b.
|
|
|
|
:- func get_things = list(thing).
|
|
|
|
%-----------------------------------------------------------------------------%
|
|
|
|
:- implementation.
|
|
|
|
get_things = [thing_a, thing_b].
|