forked from vyperlang/vyper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[lang]: builtin type comparisons (vyperlang#3956)
prior to this commit, due to re-loading and re-analysing the builtin modules, the types defined in those modules do not compare when they are imported in different files. this commit globally(!) caches the builtin modules, ensuring builtin types compare correctly no matter how they are imported. the global scope should be safe, since builtins are always stable across compilations.
- Loading branch information
1 parent
833a55d
commit 419ee8c
Showing
3 changed files
with
46 additions
and
5 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
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