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

Parser fails on inlining nested blocks #7

Open
smarr opened this issue Dec 13, 2016 · 0 comments
Open

Parser fails on inlining nested blocks #7

smarr opened this issue Dec 13, 2016 · 0 comments
Labels

Comments

@smarr
Copy link
Member

smarr commented Dec 13, 2016

In SOMns, the following code is problematic:

  false whileFalse: [
    | resrv |
    critical: [ resrv ] ] ].

The inlining of whileFalse: did not properly initialize the inliner with the local variables of the inlined block. This was covered up by on-demand adding the local information for writes.

A solution and tests are here: smarr/SOMns#72

@smarr smarr added the bug label Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant