Skip to content

Commit

Permalink
[compiler] Flatten scopes based on fallthrough, not scope range
Browse files Browse the repository at this point in the history
Once we create scopes, we should prefer to use the block structure to identify active scope ranges rather than the scope range. They _should_ always be in sync, but ultimately the block structure determine the active range (ie the id of the 'scope' terminal and the terminal's fallthrough block).

ghstack-source-id: 730b6d1cfaf0eb689d71057c78a48045ac4fb11c
Pull Request resolved: facebook#30398
  • Loading branch information
felixshiftellecon committed Jul 24, 2024
1 parent ca5fef0 commit 54ac4d4
Showing 1 changed file with 271 additions and 255 deletions.
Loading

0 comments on commit 54ac4d4

Please sign in to comment.