bug: TypeCheckFailure
when using address and self
members as struct field name
#3521
Labels
TypeCheckFailure
when using address and self
members as struct field name
#3521
Version Information
vyper --version
): 9e3b9a2python --version
): 3.10.4What's your issue about?
Accessing the field of an enum named after an address or
self
member (balance
,codesize
,is_contract
,codehash
orcode
) results in aTypeCheckFailure
.This contract fails to compile:
TypeCheckFailure: Attribute node did not produce IR
h/t @trocher
How can it be fixed?
Fill this in if you know how to fix it.
The text was updated successfully, but these errors were encountered: