mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
273 B
Solidity
14 lines
273 B
Solidity
contract B {
|
|
uint immutable x;
|
|
|
|
function g() public {}
|
|
}
|
|
|
|
contract C is B {
|
|
function f() public {
|
|
super.x = 42;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 9582: (118-125): Member "x" not found or not visible after argument-dependent lookup in type(contract super C).
|