Fix error message suggestion for receive

This commit is contained in:
Nicolás Venturo
2020-01-14 23:24:27 +01:00
committed by chriseth
parent b3fe84a6ea
commit 9649c92e12
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -680,7 +680,7 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(
fatalParserError(
"Expected a state variable declaration. If you intended this as a fallback function "
"or a function to handle plain ether transactions, use the \"fallback\" keyword "
"or the \"ether\" keyword instead."
"or the \"receive\" keyword instead."
);
bool isIndexed = false;