mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fallback function has to be external: backwards-compatible changes.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
contract c {
|
||||
function() { }
|
||||
function() external { }
|
||||
}
|
||||
// ----
|
||||
// Warning: (17-31): No visibility specified. Defaulting to "public".
|
||||
|
||||
Reference in New Issue
Block a user