I had snippets in my templates like <button (click)="foo = []">clear foo</button>. After upgrading from beta 15 to 16, such actions in assignment format (foo = []) now throw with the following error: Unsupported number of argument for pure functions: 0, and would need to be refactored to method calls. Plunker here -- if you change the angular version to 15 it works.
If this break was intentional, then so be it, but I hadn't been under the impression I'd seen mention of changes like this in the log. If I didn't just miss it in the changelog, I wonder if that means this change was an unintended side-effect of recent refactoring.
I had snippets in my templates like
<button (click)="foo = []">clear foo</button>. After upgrading from beta 15 to 16, such actions in assignment format (foo = []) now throw with the following error:Unsupported number of argument for pure functions: 0, and would need to be refactored to method calls. Plunker here -- if you change the angular version to 15 it works.If this break was intentional, then so be it, but I hadn't been under the impression I'd seen mention of changes like this in the log. If I didn't just miss it in the changelog, I wonder if that means this change was an unintended side-effect of recent refactoring.