Stylistic corrections.

This commit is contained in:
chriseth 2015-09-09 16:15:35 +02:00
parent 985eb80695
commit 9967ae4038
2 changed files with 2 additions and 2 deletions

View File

@ -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."
));
}
}

View File

@ -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;