You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interfaceBase1 {
function test() externalviewreturns (uint);
}
interfaceBase2 {
function test() externalviewreturns (uint);
}
interfaceDerivedisBase1, Base2 {
}
solar --version: 0.1.1
solc reports an error when compiling this program, but solar does not.
solc test.sol
Error: Derived contract must override function "test". Two or more base classes define function with same name and parameter types.
--> test.sol:10:1:
|
10 | interface Derived is Base1, Base2 {
| ^ (Relevant source part starts here and spans across multiple lines).
Note: Definition in "Base1": ^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
solar --version: 0.1.1
solc reports an error when compiling this program, but solar does not.
The text was updated successfully, but these errors were encountered: