Skip to content

Parser fails on inlining nested blocks #7

Open
@smarr

Description

@smarr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions