Skip to content

Automatically track which variables are inside if/cond/while #1467

@josevalim

Description

@josevalim

Today this is done by the compiler, but it pushes a lot of complexity elsewhere. The if/cond/while nodes should automatically track the environment before them and keep it around. This will also allow us to implement while as closures.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions