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
No description provided.
The text was updated successfully, but these errors were encountered:
Related: #4427
Sorry, something went wrong.
The following is already an error (Type is required to live outside storage.):
Type is required to live outside storage.
function f() public pure returns(mapping(uint=>uint) storage) {}
i.e. mappings cannot be returned.
function f() public pure { mapping(uint=>uint) storage m; }
is also already an error Uninitialized mapping. Mappings cannot be created dynamically, you have to assign them from a state variable..
Uninitialized mapping. Mappings cannot be created dynamically, you have to assign them from a state variable.
So it seems like nothing has to be done here.
Argh, but this is bad, I would consider this to be a bug to be fixed for 0.5.0. New issue: #4670
Yes, I was wondering, whether this was actually ever intended :).
ekpyron
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: