mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
311 B
Solidity
16 lines
311 B
Solidity
contract A{
|
|
|
|
}
|
|
contract B{
|
|
A public a;
|
|
}
|
|
contract C{
|
|
B b;
|
|
function f() public view{
|
|
b.a.f();
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// TypeError: (104-109): Member "f" not found or not visible after argument-dependent lookup in function () view external returns (contract A). Did you intend to call the function?
|