mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cbe6e1ffcf
In one of the earlier commits, the logic that appends `=$event` before parsing two-way bindings was removed and some validation was added to prevent unassignable expressions from being used. This ended up being problematic, because previously the parser was incorrectly allowing some invalid expressions which users came to depend on. For example, it transformed `[(value)]="a && a.b"` to `a && (a.b = $event)`. These changes add some special cases for the common breakages that came up during the TGP. PR Close #54154
Tests in this directory are excluded from running in the browser and only run in node.