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
type[4]
When calling fooInstance.a(<address of B>), this code breaks with an "out of gas" error. Tested on both browser-solidity and on testrpc.
fooInstance.a(<address of B>)
pragma solidity ^0.4; contract Foo { function a(Bar bar) { bar.b(); } } contract Bar { function b() returns (uint[4] i) {} }
If you change the uint[4] to uint[3], the code runs as you would expect. It also appears to happen with any type of array, not just uints.
uint[4]
uint[3]
uint
This seems to be a regression that occurred in 0.4.0, because this problem does not occur on 0.3.5 or 0.3.6.
The text was updated successfully, but these errors were encountered:
I think this is the same issue as #1083 or at least related.
Sorry, something went wrong.
Yes, they seem related.
Confirmed as duplicate.
No branches or pull requests
When calling
fooInstance.a(<address of B>)
, this code breaks with an "out of gas" error. Tested on both browser-solidity and on testrpc.If you change the
uint[4]
touint[3]
, the code runs as you would expect. It also appears to happen with any type of array, not justuint
s.This seems to be a regression that occurred in 0.4.0, because this problem does not occur on 0.3.5 or 0.3.6.
The text was updated successfully, but these errors were encountered: