Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[beta.13] Incorrectly closed tag throws Cannot set property endSourceSpan of null #7849
Comments
|
Havin this template, with a child node the message is a little bit more clear but unacurrate
Throws
|
|
The uncaught error happens in where Replacing
created a better and clearer error message like mentioned from beta 12. |
|
Same still happening to me on 2.0.0-rc.1. When you have too many closing tags this might happen. Only because of this issue I was able to quickly fix the real problem. |
|
I am using umd so I had to alter compiler.umd.js with the fix suggested by bananenmannfrau |
|
@bananenmannfrau what about sending a PR? :D It would be nice to have this fixed by the next RC |
Fixes angular#7849
…ngular#8999) Fixes angular#7849
…ngular#8999) Fixes angular#7849
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
What steps should we try in your demo to see the problem?
Take a look at this plnkr http://plnkr.co/edit/GMMWZ3xVkcGsqlg9m11a?p=preview
The plnkr is using beta 13, to see the correct error message change the version to beta 12 in index.html
Consider this template
Note that I missed a closing tag for div
Current behavior
Beta 13 throws the following error
Expected/desired behavior
Works like beta 12 did throwing this error
Other information