Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing a helper expression that uses the ~ operator throws #112

Closed
matthewp opened this issue Nov 23, 2016 · 0 comments
Closed

Parsing a helper expression that uses the ~ operator throws #112

matthewp opened this issue Nov 23, 2016 · 0 comments
Assignees
Labels

Comments

@matthewp
Copy link
Contributor

Test case in b91adc4

var exprData = expression.parse('each ~foo');

This throws with:

TypeError: Cannot read property '0' of undefined
    at Object.hydrateAst (http://localhost/can-stache/src/expression.js:659:47)
    at Object.hydrateAst (http://localhost/can-stache/src/expression.js:688:23)
    at Object.parse (http://localhost/can-stache/src/expression.js:647:19)
    at Object.<anonymous> (http://localhost/can-stache/test/expression-test.js:690:28)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants