Add override exception for interface functions.

This commit is contained in:
chriseth
2021-08-31 10:45:31 +02:00
parent 78afd71ab7
commit f7916f2940
22 changed files with 83 additions and 38 deletions
@@ -1,3 +1,3 @@
interface ERC20 { function x() external returns (uint); }
contract C is ERC20 { uint public override x; }
contract C is ERC20 { uint public x; }
// ----