aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/fallback
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-11 04:43:02 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-18 00:07:36 +0800
commitdfd2fee91d2d6158dc11146ddc1773ac5eb12c6a (patch)
treee60abadf72ff9ed8778f98384948a81700247270 /test/libsolidity/syntaxTests/fallback
parent75bba5c9f02df281c667b77db01594c5c7eb823d (diff)
downloaddexon-solidity-dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a.tar.gz
dexon-solidity-dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a.tar.zst
dexon-solidity-dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a.zip
Suggests external for fallback and interface functions.
Diffstat (limited to 'test/libsolidity/syntaxTests/fallback')
-rw-r--r--test/libsolidity/syntaxTests/fallback/default_visibility.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/fallback/default_visibility.sol b/test/libsolidity/syntaxTests/fallback/default_visibility.sol
index 2199a99b..6fbb15a5 100644
--- a/test/libsolidity/syntaxTests/fallback/default_visibility.sol
+++ b/test/libsolidity/syntaxTests/fallback/default_visibility.sol
@@ -3,5 +3,5 @@ contract C {
function() {}
}
// ----
-// SyntaxError: (90-103): No visibility specified.
+// SyntaxError: (90-103): No visibility specified. Did you intend to add "external"?
// TypeError: (90-103): Fallback function must be defined as "external".