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
Currently, using a complex type as a map key is not allowed. It'd be better to relax this restriction.
struct MyStruct: x: u256 y: u256 contract Foo: s: Map<MyStruct, u256>
New codegen allow this feature, so just removing the checking in analyzer would work if there is no bug in codegen.
codegen
analyzer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is wrong?
Currently, using a complex type as a map key is not allowed.
It'd be better to relax this restriction.
How can it be fixed
New
codegen
allow this feature, so just removing the checking inanalyzer
would work if there is no bug incodegen
.The text was updated successfully, but these errors were encountered: