Commit 31df8ef
fix: reorder ElementContent so BlockParams wins over AttrNameOnly
The grammar's ElementContent had AttrNameOnly before BlockParams in
the ordered choice, so <Foo as |bar|> was matching 'as' as a
bare attribute name rather than kicking off block params. Put
BlockParams first in the alternation.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent f7273e2 commit 31df8ef
3 files changed
Lines changed: 4 additions & 3 deletions
File tree
- packages/@glimmer/syntax
- pkg
- standalone
- src
Binary file not shown.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
295 | 296 | | |
296 | | - | |
297 | | - | |
| 297 | + | |
| 298 | + | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| |||
0 commit comments