### Which @angular/* package(s) are the source of the bug? compiler ### Is this a regression? No ### Description This issue was fixed like 3 years ago, but the comment that it also applies to objects was missed out: https://github.com/angular/angular/issues/20773 Angular compiler breaks on following syntax because of the trailing comma: ```html <my-comp [data]="{ key: value, }" ></my-comp> ``` ### Please provide a link to a minimal reproduction of the bug _No response_ ### Please provide the exception or error you saw ```true Parser Error: Unexpected token }, expected identifier, keyword, or string ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true "@angular/compiler": "14.1.0", ``` ### Anything else? _No response_
Activity
fix(compiler): handle trailing comma in object literal
fix(compiler): allow trailing commas in object literals expression
fix(compiler): handle trailing comma in object literal (#49535)
angular-automatic-lock-bot commentedon Apr 23, 2023
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.