Files
mercury/tests/invalid_make_int/bug521.m
Zoltan Somogyi f15a2b5f2a Rename X's aux modules as X_helper_N in invalid_make_int.
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.
2023-06-18 12:51:04 +02:00

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].