Closed charles-cooper closed 1 month ago
currently we don't handle ann_assign well
this will panic
interface Bar:
def bar() -> Bytes[2]: payable
@external
def foo() -> Bytes[2]:
x: Bytes[2] = extcall Bar(self).bar()
return x
also this due to the internal buffer variable on lhs
BLUEPRINT: immutable(address)
@deploy
def __init__(blueprint_address: address):
BLUEPRINT = blueprint_address
@external
def test(code_ofst: uint256) -> address:
return create_from_blueprint(BLUEPRINT, code_offset=code_ofst)
Attention: Patch coverage is 19.04762%
with 17 lines
in your changes are missing coverage. Please review.
Project coverage is 55.21%. Comparing base (
dcec257
) to head (74d1b85
).:exclamation: Current head 74d1b85 differs from pull request most recent head 2b93d79
Please upload reports for the commit 2b93d79 to get more accurate results.
Files | Patch % | Lines |
---|---|---|
vyper/codegen/core.py | 33.33% | 4 Missing and 4 partials :warning: |
vyper/codegen/expr.py | 0.00% | 8 Missing :warning: |
vyper/codegen/stmt.py | 0.00% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What I did
fix https://github.com/vyperlang/vyper/issues/4056, which is another make_setter overlap bug
variant of #4037 and https://github.com/vyperlang/vyper/pull/3410
additionally adds an internal assertion to prevent future variants
How I did it
How to verify it
Commit message
Description for the changelog
Cute Animal Picture
![Put a link to a cute animal picture inside the parenthesis-->]()