vyper
vyper copied to clipboard
feat[lang]: infer expected types
What I did
rework validate_expected_type so that it returns (and tags) the expected type instead of just validating the type. this makes it so certain calls to validate_expected_type() can get a concrete type, where previously the type was not known beforehand.
this is a language change, generic bytes types (like from an interface) should work more as expected now.
How I did it
How to verify it
Commit message
Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)
Description for the changelog
Cute Animal Picture
too hard to evalulate changes until it's rebased on the module work