Closed SaladFork closed 8 years ago
@SaladFork can you confirm if this is still an issue?
I am seeing the following working:
some-component-with-inverse-yield
|foo
else
|bar
=>
{{#some-component-with-inverse-yield}}
foo
{{else}}
bar
{{/some-component-with-inverse-yield}}
Ah, my mistake. As posted you are correct. I've done some more research and the fail condition is when you switch to multi-line declarations with square brackets:
/ works
some-component-with-inverse-yield value=true
| foo
else
| bar
/ doesn't work
some-component-with-inverse-yield [
value=true ]
| foo
else
| bar
/ works
some-component-with-inverse-yield [
value=true ]
| foo
else
| bar
#274 should resolve this
NOTE: The examples in this comment are not actually correct as I had not properly simplified the problem. Please see my correction in a follow-up comment.
The ones that don't work result in an error:
Equivalent handlebars: