aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AST.cpp2
-rw-r--r--AST.h2
2 files changed, 2 insertions, 2 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."));
diff --git a/AST.h b/AST.h
index 0d3ef857..abcae83c 100644
--- a/AST.h
+++ b/AST.h
@@ -422,7 +422,7 @@ public:
void checkTypeRequirements();
/// @returns the external signature of the function
- /// That consists of the name of the function followed by the types(external types if isExternalCall) of the
+ /// That consists of the name of the function followed by the types (external types if isExternalCall) of the
/// arguments separated by commas all enclosed in parentheses without any spaces.
std::string externalSignature(bool isExternalCall = false) const;