2019-12-09 16:51:53 +00:00
|
|
|
interface A {
|
|
|
|
function foo() external returns (uint);
|
|
|
|
}
|
|
|
|
interface B {}
|
|
|
|
contract X is A {
|
|
|
|
uint public override(A, B) foo;
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// TypeError 2353: (106-120): Invalid contract specified in override list: "B".
|