Open cyberthirst opened 3 months ago
vyper --version
Certain contracts which contain empty and slice fail to compile.
empty
slice
This contract
#@version 0.4.0.rc3 @external def foo(): s: Bytes[2] = slice(empty(Bytes[4]), 0, 2)
fails to compile with:
vyper.exceptions.CodegenPanic: unhandled exception ~empty <empty(Bytes[4])>, parse_Call
credits: @trocher
Version Information
vyper --version
OR linkable commit hash vyperlang/vyper@commitish): 0.4.0rc3+commit.80708e6dIssue description
Certain contracts which contain
empty
andslice
fail to compile.POC
This contract
fails to compile with:
credits: @trocher