Closed
Description
Version
2.6.8
Reproduction link
http://jsfiddle.net/6bk180pn/2/
Steps to reproduce
The fiddle contains three parts.
Part 1 is the old working syntax.
Part 2 is the commented out new syntax that does not work anymore, un-commenting this part triggers the error.
Part 3 is a workaround using the new syntax but that requires copying part of the code of the component to the parent so it works.
What is expected?
template is only included when the condition is true
What is actually happening?
syntax error
This seems like a regression especially since the old functionality will be discontinued in future releases.