Fallback function has to be external: backwards-compatible changes.

This commit is contained in:
chriseth
2018-06-29 00:23:52 +02:00
parent 4268062985
commit eeef82b2d7
43 changed files with 123 additions and 105 deletions
@@ -0,0 +1,6 @@
contract C {
// Check that visibility is also enforced for the fallback function.
function() {}
}
// ----
// Warning: (90-103): No visibility specified. Defaulting to "public".