mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +00:00
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.
5 lines
65 B
Mathematica
5 lines
65 B
Mathematica
:- module module_d.
|
|
:- interface.
|
|
:- type module_d__foo == int.
|
|
|