mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Stylistic corrections.
This commit is contained in:
parent
985eb80695
commit
9967ae4038
@ -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."
|
||||
));
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user