diff options
author | chriseth <chris@ethereum.org> | 2018-07-11 04:43:02 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-18 00:07:36 +0800 |
commit | dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a (patch) | |
tree | e60abadf72ff9ed8778f98384948a81700247270 /test/libsolidity/syntaxTests/constructor | |
parent | 75bba5c9f02df281c667b77db01594c5c7eb823d (diff) | |
download | dexon-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/constructor')
-rw-r--r-- | test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol | 2 | ||||
-rw-r--r-- | test/libsolidity/syntaxTests/constructor/constructor_no_visibility_050.sol | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol b/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol index 3835560a..586329b1 100644 --- a/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol +++ b/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol @@ -1,3 +1,3 @@ contract A { constructor() {} } // ---- -// SyntaxError: (13-29): No visibility specified. +// SyntaxError: (13-29): No visibility specified. Did you intend to add "public"? diff --git a/test/libsolidity/syntaxTests/constructor/constructor_no_visibility_050.sol b/test/libsolidity/syntaxTests/constructor/constructor_no_visibility_050.sol index 0f57a41f..9f60f0d8 100644 --- a/test/libsolidity/syntaxTests/constructor/constructor_no_visibility_050.sol +++ b/test/libsolidity/syntaxTests/constructor/constructor_no_visibility_050.sol @@ -1,4 +1,4 @@ pragma experimental "v0.5.0"; contract A { constructor() {} } // ---- -// SyntaxError: (43-59): No visibility specified. +// SyntaxError: (43-59): No visibility specified. Did you intend to add "public"? |