aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-26 21:11:24 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-26 21:11:24 +0800
commitb1ca27ea93907dc500d0b84298f5d63a9d4a7c1d (patch)
tree1b219b130926c58c01383cdec83d902ae84a54b8 /AST.cpp
parent8f747aab0f977e62c344f57fe922ba6b0fda3a64 (diff)
downloaddexon-solidity-b1ca27ea93907dc500d0b84298f5d63a9d4a7c1d.tar.gz
dexon-solidity-b1ca27ea93907dc500d0b84298f5d63a9d4a7c1d.tar.zst
dexon-solidity-b1ca27ea93907dc500d0b84298f5d63a9d4a7c1d.zip
two more tests
style fixes
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.cpp b/AST.cpp
index 9e81c2cb..461c3d0c 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -431,7 +431,7 @@ void EventDefinition::checkTypeRequirements()
if (!var->getType()->canLiveOutsideStorage())
BOOST_THROW_EXCEPTION(var->createTypeError("Type is required to live outside storage."));
if (!var->getType()->externalType())
- BOOST_THROW_EXCEPTION(var->createTypeError("Internal type is not allowed for Events"));
+ BOOST_THROW_EXCEPTION(var->createTypeError("Internal type is not allowed as event parameter type."));
}
if (numIndexed > 3)
BOOST_THROW_EXCEPTION(createTypeError("More than 3 indexed arguments for event."));