You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(angular): fix 3 compiler divergences from Angular reference (#27)
1. @for duplicate `let` validation: Remove extra `name != value` condition
that skipped implicit context variables, causing `let $index = $index`
to be silently accepted instead of rejected as a duplicate.
2. $index alias handling: Change `RepeaterVarNames.index` from `Option<Atom>`
to `Vec<Atom>` so multiple aliases for $index (e.g. `let i = $index,
j = $index`) are all stored and rewritten in track expressions, matching
Angular's `Set<string>` behavior.
3. @switch invalid @case unknown_blocks: Push invalid @case blocks (wrong
parameter count) into `unknown_blocks` before continuing, matching
Angular's behavior for language service autocompletion support.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments