forked from vyperlang/vyper
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[lang]: typecheck hashmap indexes with folding (vyperlang#4007)
this commit fixes a bug in typechecking of folded values for hashmap indexes. there was previously a carveout for subscript typechecking for arrays; however, it should not apply to hashmap indexes. this was introduced as an edge case resulting from the semantic changes in 56c4c9d. a related fix was applied in 75fb059, but it did not handle hashmaps.
- Loading branch information
1 parent
4c66c8c
commit 54616d6
Showing
2 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters