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
abstract contract YInterface { function foo() virtual external returns (uint); } contract Y is YInterface { function foo() virtual override public returns (uint) { return 1; } function bar(Y y) internal { y.foo(); } }
On the other hand, this is ok:
contract Y { function foo() virtual public returns (uint) { return 1; } function bar(Y y) internal { y.foo(); } }
Thinking extra layer with the virtual fn in the inherited interface matters.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
On the other hand, this is ok:
Thinking extra layer with the virtual fn in the inherited interface matters.
The text was updated successfully, but these errors were encountered: