Skip to content

scope_map: Keep index of scopemap - #445

Closed
CohenArthur wants to merge 2 commits into
masterfrom
rework-scope-map
Closed

scope_map: Keep index of scopemap#445
CohenArthur wants to merge 2 commits into
masterfrom
rework-scope-map

Conversation

@CohenArthur

@CohenArthur CohenArthur commented Dec 24, 2021

Copy link
Copy Markdown
Member

This change allows the scope map to keep all its scopes at all times. I think this might not be the intended behavior, as it may fail when two functions use the same names for arguments. However, this is necessary for the generics pass to work properly.

Closes #444

@CohenArthur
CohenArthur marked this pull request as draft December 24, 2021 17:24
This change allows the scope map to keep all its scopes at all times
@CohenArthur

Copy link
Copy Markdown
Member Author

Maybe we could have two versions of the scope map, one keeping track of these scopes and the other one destroying them

@CohenArthur
CohenArthur marked this pull request as ready for review December 25, 2021 09:37
@CohenArthur

Copy link
Copy Markdown
Member Author

Closing for now as #448 solves the issue in a different way

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

Successfully merging this pull request may close these issues.

Rework scope map to keep track of previous scopes

1 participant