mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 10:53: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.
7 lines
72 B
Mathematica
7 lines
72 B
Mathematica
:- module module_e.
|
|
|
|
:- interface.
|
|
|
|
:- use_module io.
|
|
:- mode e :: out.
|