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

refactor(gnovm): consistent map type evaluation for *IndexExpr #699

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

piux2
Copy link
Contributor

@piux2 piux2 commented Apr 5, 2023

Description

The previous fix works. However, we should use the existing baseOf() function for a consistent implementation when we retrieve the base type of a declared type

How has this been tested?

Same test for the previous fix
tests/files/map28c.gno

The previous fix works. However, we should use baseOf() function to have a consistent implementation when we retrieve the base type of a declared type
@piux2 piux2 changed the title Chore: Consistent map type evaluation for *IndexExpr refactor: Consistent map type evaluation for *IndexExpr Apr 5, 2023
@thehowl thehowl changed the title refactor: Consistent map type evaluation for *IndexExpr refactor(gnovm): consistent map type evaluation for *IndexExpr Apr 18, 2023
@thehowl thehowl merged commit 7581b6b into master Apr 18, 2023
@thehowl thehowl deleted the piux2-patch-1 branch April 18, 2023 17:28
peter7891 pushed a commit that referenced this pull request May 9, 2023
Consistent map type evaluation for *IndexExpr

The previous fix works. However, we should use baseOf() function to have a consistent implementation when we retrieve the base type of a declared type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants