mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 06:47:17 +00:00
Estimated hours taken: 0.1 Branches: main Remove deprecated syntax from some test cases. (This was done on the release branch some time ago.) tests/*/*.m: Replace deprecated syntax.
24 lines
442 B
Mathematica
24 lines
442 B
Mathematica
:- module test_nested.
|
|
:- interface.
|
|
|
|
:- type foo.
|
|
|
|
:- implementation.
|
|
:- use_module parent.
|
|
:- use_module parent.public_child.
|
|
:- use_module parent.private_child.
|
|
:- use_module parent.undeclared_child.
|
|
% :- use_module parent.nonexistent_child.
|
|
|
|
:- use_module parent2.child.
|
|
|
|
:- type foo --->
|
|
foo(
|
|
parent.public_child.foo,
|
|
parent.private_child.foo,
|
|
parent.undeclared_child.foo,
|
|
parent.nonexistent_child.foo,
|
|
parent2.child.foo
|
|
).
|
|
|