Permalink
Browse files
fix($parse): validate assignment lval in parser phase
The parser always threw an error in the case of an invalid left-value assignment but it was an unhelpful: ``` Cannot set property 'undefined' of undefined ``` This commit provides a more meaningful error message, so it is not a breaking change. Closes #15234
- Loading branch information
Showing
with
18 additions
and 3 deletions.
- +4 −3 src/ng/parse.js
- +14 −0 test/ng/parseSpec.js