diff options
author | chriseth <c@ethdev.com> | 2015-09-09 22:15:35 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-09-09 22:15:35 +0800 |
commit | 9967ae4038c52724e7e16cea49799bd5508615c5 (patch) | |
tree | eba3fb798f8f631b403986b3d50f24457150746a | |
parent | 985eb80695bf9c2a757397374a0ec30ea09d17c1 (diff) | |
download | dexon-solidity-9967ae4038c52724e7e16cea49799bd5508615c5.tar.gz dexon-solidity-9967ae4038c52724e7e16cea49799bd5508615c5.tar.zst dexon-solidity-9967ae4038c52724e7e16cea49799bd5508615c5.zip |
Stylistic corrections.
-rw-r--r-- | libsolidity/AST.cpp | 2 | ||||
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/AST.cpp b/libsolidity/AST.cpp index ae125e52..25d2ccd8 100644 --- a/libsolidity/AST.cpp +++ b/libsolidity/AST.cpp @@ -569,7 +569,7 @@ void VariableDeclaration::checkTypeRequirements() if (!constImplemented) BOOST_THROW_EXCEPTION(createTypeError( "Illegal use of \"constant\" specifier. \"constant\" " - " is not yet implemented for this type." + "is not yet implemented for this type." )); } } diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index 25b4e409..c99d295d 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -3700,7 +3700,7 @@ BOOST_AUTO_TEST_CASE(simple_constant_variables_test) BOOST_AUTO_TEST_CASE(constant_variables) { - //for now constant specifier is valid only for uint bytesXX and enums + //for now constant specifier is valid only for uint, bytesXX, string and enums char const* sourceCode = R"( contract Foo { uint constant x = 56; |