-
-
Notifications
You must be signed in to change notification settings - Fork 808
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: merge annotation.py
and local.py
#3456
Merged
Merged
Changes from 1 commit
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
0869c4c
fix ordering
tserg d2b82fd
remove annotation wip
tserg 76b94a6
move annotation into local analysis
tserg 21a370c
improve annotation for visit_For
tserg 2b4e7ef
fix lint
tserg 236331c
fix some mypy
tserg 905e3fb
fix assert and raise
tserg f9793e7
fix var name
tserg de231d5
remove catch for IfExp
tserg 00f24b6
remove catch for unary
tserg 614119d
remove catch for List
tserg 16fbe48
remove catch for Constant
tserg 23860e0
propagate attribute value type
tserg 73b1ff0
remove catch for BinOp
tserg 2af2c10
reorder fn validation before visiting body
tserg 45be463
add some TODOs
tserg 62b9516
clean up ignored nodes
tserg beb0c60
try interface fix
tserg a6cb50f
Revert "reorder fn validation before visiting body"
tserg 837fd3f
Revert "try interface fix"
tserg ff602b1
move ast traversals in FnNodeVisitor ctor to helpers
tserg 3672684
fix base visitor
tserg 96a1cd0
fix mypy
tserg a4b008b
fix more mypy
tserg a0ff652
fix lint
tserg bf10a1a
fix lint
tserg 1465973
add test
tserg 39c78d3
Merge branch 'fix/if_exp' into refactor/annotation
tserg 980004e
Merge branch 'master' of https://github.com/vyperlang/vyper into refa…
tserg 51d2665
fix some mypy things
charles-cooper 29792ae
add review comments
charles-cooper 475e9c0
fix some more mypy things
charles-cooper f777fd9
Merge branch 'master' of https://github.com/vyperlang/vyper into refa…
tserg cc574f2
temporarily revert
tserg 5442c37
change type to arg
tserg 3713c0a
fix tuple
tserg ae0680f
fix tuple again
tserg aaea8b1
remove print
tserg f7279bc
try list iterator and call
tserg 2b5ccc9
fix type list for literal lists in for loop
tserg 00d4f9e
fix lint
tserg c196f66
fix nested empty lists
tserg e6f7288
improve nested list condition
tserg e99025e
use for else in visit_For
tserg da9a7cd
try typing every expr
tserg c024868
undo revert
tserg 3507d0b
fix lint
tserg 5450a1c
change types_from_List
tserg 0b52d24
remove mypy hints
tserg 302ebdb
clean up
tserg 9ca2a2e
clean up visit_For
tserg bfa36a6
revert blank line deletion
tserg b6c8dde
fix typing
tserg fcc44a3
clean up type_ override
tserg df9354d
fix compare
tserg c513e36
chore: style things
charles-cooper 275183e
fix builtins - inherit from base VyperType
charles-cooper aaf69c5
modify test
tserg b538481
remove validation in visit
tserg 1b8dc29
fix attribute pure validation typ
tserg 5d68679
add validate_expected_type to individual visits
tserg 55c24e1
fix shift operator
tserg 19c16e4
remove print
tserg 1a9489d
fix compare
tserg 8f7291c
fix indent
tserg c6b8024
skip downcast for bytestrings
tserg e861858
clarify binop rtyp
tserg 16e2a96
clarify builtin comment
tserg 7b0edf2
try removing type t branch
tserg 39cccaa
Revert "try removing type t branch"
tserg 827b852
undo change
tserg 96a0e60
fix len infer arg types
tserg 3c8589e
clean up local
tserg 1a15bf3
fix lint
tserg b403bb8
fix comments
tserg e6d1ddb
fix visit_For iter visit
tserg b2f8570
clarify a branch
charles-cooper 51701e9
clarify comment
charles-cooper 6f535a1
add a comment
charles-cooper 4e7b958
Merge branch 'master' of https://github.com/vyperlang/vyper into refa…
tserg c1b96ac
Merge branch 'master' of https://github.com/vyperlang/vyper into refa…
tserg b26c85c
fix merge conflict
tserg 0b11dd0
Merge branch 'master' of https://github.com/vyperlang/vyper into refa…
tserg 1d094c9
Merge branch 'master' of https://github.com/vyperlang/vyper into refa…
tserg acfe4de
Merge branch 'master' of https://github.com/vyperlang/vyper into refa…
tserg dbb25cb
polish some things, fix some potential spots for bugs
charles-cooper 54c1908
remove bad typecheck
charles-cooper File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
infer_arg_types
ofLen
builtin was returning a python tuple of types.