Skip to content

Unspecified cyclic import behavior #35

@ancavar

Description

@ancavar

To replicate this behavior, you have to manually create .i interface files like so:
A.i

I,Std;
I,B;

B.i

I,Std;
I,A;

Source files:
A.lama

import B;

printf("A\n")

B.lama

import A;

printf("B\n")

Command

lamac -c B.lama -I . && lamac -c A.lama -I . &&  lamac A.lama -I . && ./A

Result

A
B
A

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions