Skip to content

Fix parsing issues with multi-index IndexedSet and IndexedGet#1050

Merged
TwitchBronBron merged 2 commits intomasterfrom
multi-index-indexed-set
Jan 31, 2024
Merged

Fix parsing issues with multi-index IndexedSet and IndexedGet#1050
TwitchBronBron merged 2 commits intomasterfrom
multi-index-indexed-set

Conversation

@TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Jan 31, 2024

Fixes parsing and transpile issues with mutli-index IndexedGetExpression and IndexedSetStatement.

The solution is a little "icky", because we can't break backwards compatability, so I had to add additionalIndexes to the two AST node types. In v1, we should merge those into a single .indexes prop on the nodes instead.

Fixes #1048

image

@TwitchBronBron TwitchBronBron merged commit 197a233 into master Jan 31, 2024
@TwitchBronBron TwitchBronBron deleted the multi-index-indexed-set branch January 31, 2024 21: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.

Support multi-dimensional array comma access syntax

1 participant