Files
mercury/tests/valid/intermod_record2.m
Simon Taylor 8879695e64 Fix a bug which caused a spurious type error when compiling
Estimated hours taken: 0.5

compiler/typecheck.m:
	Fix a bug which caused a spurious type error when compiling
	the compiler with --intermodule-optimization.

tests/valid/Mmakefile:
tests/valid/intermod_record.m:
tests/valid/intermod_record2.m:
	Test case.
2001-01-21 03:01:13 +00:00

16 lines
160 B
Mathematica

:- module intermod_record2.
:- interface.
:- type record.
:- func field(record) = int.
:- implementation.
:- type record
---> record(
field :: int
).