Skip to content

Make IndexedValue use Expression type as the value.#13

Merged
Morgan2010 merged 4 commits intomainfrom
literal
Aug 16, 2023
Merged

Make IndexedValue use Expression type as the value.#13
Morgan2010 merged 4 commits intomainfrom
literal

Conversation

@Morgan2010
Copy link
Contributor

This PR adds support for more complex values to be assigned in indexed literals. This allows for all expressions to be assigned to an index within a ranged type, e.g. arrays, vectors, records.

This PR also adds 2 helper computed properties to BinaryOperation for accessing the left-hand side and right-hand side operands.

@Morgan2010 Morgan2010 changed the title Made IndexedValue use Expression type as the value. Make IndexedValue use Expression type as the value. Aug 16, 2023
@Morgan2010 Morgan2010 merged commit f58a228 into main Aug 16, 2023
@Morgan2010 Morgan2010 deleted the literal branch August 16, 2023 07:27
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