You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to parse {{#if (condition)}}...{{/if}} results in an Expected }} parsing error at the ). And attempting to parse {{#each (list) as item}}...{{/each}} results in an Expected as parsing error at the ).
The text was updated successfully, but these errors were encountered:
Looks like this affects regular mustaches as well. {{(a)}} fails to parse.
Not sure whether this is a bug in Acorn, or just something about their API I'm not understanding. acorn.parseExpressionAt('{{(a)}}', 2) returns { type: 'Identifier', start: 3, end: 4, name: 'a' }. I suppose this makes sense from Acorn's point of view, but it's a bit unfortunate in this case.
Attempting to parse
{{#if (condition)}}...{{/if}}
results in anExpected }}
parsing error at the)
. And attempting to parse{{#each (list) as item}}...{{/each}}
results in anExpected as
parsing error at the)
.The text was updated successfully, but these errors were encountered: