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

Deal better with fields #26

Open
JustusAdam opened this issue May 2, 2021 · 0 comments
Open

Deal better with fields #26

JustusAdam opened this issue May 2, 2021 · 0 comments

Comments

@JustusAdam
Copy link
Member

ATM a field access x.y is simply rewritten to y(x) and also y does not need to be a field, but may be resolved from scope, for instance let y = ...; x.y would resolve the field as the let-bound y. This can lead to the hilarious situation where let thing = ...; thing.thing is translated to BindState (Var "thing") (Var "thing") which is obvious nonsense.

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

No branches or pull requests

1 participant