Comments break if else chains #55954
Labels
area: compiler
Issues related to `ngc`, Angular's template compiler
compiler: parser
core: control flow
Issues related to the built-in control flow (@if, @for, @switch)
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
state: has PR
Milestone
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Don't known / other
Description
i get error:
@else if block can only be used after an @if or @else if block.
expected behaviour : ignores comment
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
If pointed to the right file i may be able to provide a pr (beginner here)
The text was updated successfully, but these errors were encountered: