Open ritzdorf opened 2 weeks ago
vyper --version
python --version
When trying to compile this contract:
@external def foo() -> Bytes[32]: y: uint256 = 0 if True: y += 1 return abi_encode(y)
with the command:
vyper --experimental-codegen --optimize none a.vy
one gets the error:
AssertionError: Not implemented yet
Please note that compilation will be successful with --optimize gas and --optimize codesize.
--optimize gas
--optimize codesize
This might be related to #4070
Version Information
vyper --version
): 0.4.0+commit.e9db8d9fpython --version
): Python 3.11.8What's your issue about?
When trying to compile this contract:
with the command:
one gets the error:
Please note that compilation will be successful with
--optimize gas
and--optimize codesize
.This might be related to #4070