Files
mercury/tests/valid/module_b.m
Simon Taylor 9d07a2ccdb Fix a bug reported by Tomas By which caused multiple
Estimated hours taken: 0.5

Fix a bug reported by Tomas By which caused multiple
definition errors when two modules used a third
module, and one of the modules imported the other.

compiler/modules.m
	Delay processing of short interfaces until all long
	interfaces have been read to avoid reading both
	the long and short interface for a module.

tests/valid/module_*.m
	Add a test case.
1998-02-07 09:55:52 +00:00

6 lines
99 B
Mathematica

:- module module_b.
:- interface.
:- use_module module_c.
:- type module_b__foo == module_c__foo.