Merge pull request #9118 from ethereum/develop

Merge develop into breaking.
This commit is contained in:
chriseth
2020-06-04 10:18:46 +02:00
committed by GitHub
44 changed files with 436 additions and 235 deletions
@@ -0,0 +1,9 @@
contract C1 {
function f() external pure returns(int) { return 42; }
}
contract C is C1 {
int override f;
}
// ----
// TypeError: (96-110): Override can only be used with public state variables.