Files
mercury/tests/valid/module_a.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

8 lines
144 B
Mathematica

:- module module_a.
:- interface.
:- use_module io.
:- import_module module_e.
:- use_module module_b.
:- type module_a__foo == module_b__foo.