Skip to content

Resolution of symbols that are in a (direct?) parent of instantiator does not work #198

@JonatanWaern

Description

@JonatanWaern

Reproducer:

group g {
    group sub is t { }
    method foo() {}
    param b = 4;
}

template t {
    method bar() { foo(); }
    param p = b;
}

Here, both 'b' and 'foo' fail to bind to their definitions in group g.

In-lining the template into group 'sub' fixes the issue, moving declaration from group 'g' to top-level fixes the issue.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions