-
Notifications
You must be signed in to change notification settings - Fork 79
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
Bug: Array Indexes #127
Comments
I've started investigating this issue. Not done yet, but working on it. Here's what I've found atm:
I think I can fix this eventually. |
That'd be a big help! I've not been able to set aside time to try to step through the regex based parser. I'd actually love to switch it to nom or some other parser though it does lose the comparison to shopify's but as you pointed it, it can be misleading. |
I think I could look into it in future as well, but after fixing this bug. |
This fixes #127 adding feature to access identifiers via index - array indexes `arr[0]` are supported - object indexes `obj["child"]` are supported and interchangeable with `obj.child` - index expressions are not yet supported.
liquid-rust version: 0.10.0
rust version: rustc 1.18.0 (03fc9d622 2017-06-06)
OS: macOS Sierra / 10.12.4
running the code results in
Will build and display each tag.
I've tested using another liquid parser and this definitely a problem with liquid-rust.
The text was updated successfully, but these errors were encountered: