-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
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
can not get value from complex struct #4419
Comments
I do not yet fully understand your code, but do you realize that |
Ah right and this independent copy does not include the mapping type (because mappings cannot be copied), I think that is the problem. |
We are trying to improve the visibility of implicit copy operations: #2435 |
@chriseth Sorry, I didn't describe it clearly. It's causing trouble for you. I'm from China and my English is not very good。
I use the browser remix,The operation is as follows: When I was in the getData() debugger,I can see that: a: 23 uint256 b: 0x424344 bytes3 map: mapping(uint256 => uint256) I don't know how to get it from dataMap[0][false][0].map[0] |
You cannot use |
@chriseth I did as you said. Thank you very much |
In remix ,Current version:0.4.24+commit.e67f0147.Emscripten.clang
setData()
getValue()
setComplex()
but call getData(0, false, 0).
why "value" and "tempInt" = 0
Logically it should value = 456 and tempInt = 456
What's the reason?
The text was updated successfully, but these errors were encountered: