mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 01:04:43 +00:00
Estimated hours taken: 1
Fix bugs where undefined modes were causing map__lookup failures.
tests/invalid/Mmake
tests/invalid/undef_mode.m
tests/invalid/undef_mode.err_exp
Add a test case.
7 lines
69 B
Mathematica
7 lines
69 B
Mathematica
:- module undef_mode.
|
|
|
|
:- pred x(int).
|
|
:- mode x(foo) is det.
|
|
|
|
x(1).
|