-
Notifications
You must be signed in to change notification settings - Fork 6k
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
struct in external function not compile #5581
Comments
Hi @aihuawu , thank you for reporting! |
Hi, leonardoalt pragma solidity ^ 0.4.25; It says it is not implemented. Unimplemented feature: I am using interface which must be external instead of public. So I can't use public. George Wu |
If it is not implemented, then if I want to pass struct between contract, what should I do? |
Unfortunately for now you can't receive a If you are looking for workarounds it's better to ask https://ethereum.stackexchange.com/ or https://gitter.im/ethereum/solidity. Closing since the requested feature already has an issue: #1603 |
@aihuawu Maybe one thing that might help is, in Solidity 0.5.1 you can have a non-implemented interface external function that takes a |
contract C
struct A {
uint256 id;
}
function f(A memory a) external {
}
}
If I change external to public, it compiles.
But it doesn't work for external
The text was updated successfully, but these errors were encountered: