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

fix: Deeply nested array indexes #231

Merged
merged 2 commits into from
Nov 17, 2018
Merged

fix: Deeply nested array indexes #231

merged 2 commits into from
Nov 17, 2018

Conversation

epage
Copy link
Member

@epage epage commented Nov 17, 2018

The parser is pretty messed up. I have no idea why it does what it does
but it has two different code paths for parsing variables. In one, it
somehow was treationg a.b as a variable "a.b" and not a["b"].

Not sure why it broke but it now works.

Fixes #230

The parser is pretty messed up.  I have no idea why it does what it does
but it has two different code paths for parsing variables.  In one, it
somehow was treationg `a.b` as a variable `"a.b"` and not `a["b"]`.

Not sure why it broke but it now works.

Fixes cobalt-org#230
@epage epage merged commit 3ac47ba into cobalt-org:master Nov 17, 2018
@epage epage deleted the index branch November 17, 2018 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant