mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix bug related to state variables of function type accessed via base contract.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
contract C {
|
||||
function () internal returns (uint) x;
|
||||
constructor() public {
|
||||
C.x = g;
|
||||
}
|
||||
function g() public pure returns (uint) {}
|
||||
}
|
||||
Reference in New Issue
Block a user