Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outer lexical scope is stripped off of methods of a lexicaly scoped role #1693

Open
vrurg opened this issue Mar 25, 2022 · 0 comments
Open

Comments

@vrurg
Copy link
Contributor

vrurg commented Mar 25, 2022

When a role is lexically scoped within another role in a module it's methods lose their lexical outers including the core setting.

I managed to golf the problem down to this example: https://gist.github.com/vrurg/eaa03dbc2ceb385d8a6cbb4f1a82b721. The code fails with either "lang-call cannot invoke object of type 'VMNull' belonging to no language" or with "Cannot invoke this object (REPR: Null; VMNull)", depending on wether it's a new-disp release or not.

The bug spans back up to 2020 releases. But I think it was always there, as well as a similar one I got fixed couple of years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant