We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try compile the following code
# @version 0.3.1 interface MyInterface: def some_func(): nonpayable my_interface: MyInterface[3] idx: uint256 @external def __init__(): self.my_interface[self.idx] = MyInterface(ZERO_ADDRESS) @external def use_an_interface(): pass
I get the following error
Error compiling: contracts/MyContract.vy vyper.exceptions.TypeCheckFailure: Subscript node did not produce LLL. vyper.ast.nodes.Subscript: 11 ---> 12 self.my_interface[self.idx] = MyInterface(ZERO_ADDRESS) ---------^ 13
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version Information
What's your issue about?
When I try compile the following code
I get the following error
The text was updated successfully, but these errors were encountered: