Skip to content

Discussion: Variable visibility of mixin call/definition scope and caller scope to each other #2767

Closed
@matthew-dean

Description

@matthew-dean

This was mentioned here by @lukeapage: #637 (comment), but was not the point of the main thread, so I'm assuming this is still an issue. (If not, close.)

It would be a cleaner architecture (and more consistent, and less error-prone) to only have variable inheritance one-way. Outer scope -> inner scope. Caller scope -> mixin scope.

This would potentially be a breaking change (3.x).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions