vyper icon indicating copy to clipboard operation
vyper copied to clipboard

feat[lang]: infer expected types

Open charles-cooper opened this issue 1 year ago • 1 comments

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

Put a link to a cute animal picture inside the parenthesis-->

charles-cooper avatar Feb 09 '24 04:02 charles-cooper

too hard to evalulate changes until it's rebased on the module work

fubuloubu avatar Feb 09 '24 20:02 fubuloubu