Commit 8e95b20
Make the scope bag an object instead of an array
Now that the scope bag is a `Record<string, unknown>`, the lexical symbol
names are always carried alongside their values. This eliminates the need
for the `lexicalSymbols` slot in the wire format block (previously only
available when `debugSymbols` was enabled) and allows `meta()` to derive
`lexical` names and `scopeValues` directly from the scope object's keys
and values.
See also: upstream PR #21224, PR #21068.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 468a145 commit 8e95b20
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | 376 | | |
378 | 377 | | |
379 | 378 | | |
| |||
0 commit comments