Skip to content

Commit

Permalink
fixup! adjust error message
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusaaguiar committed Nov 21, 2024
1 parent a7353f4 commit c2d435a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsolidity/parsing/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ ASTPointer<Expression> Parser::parseContractStorageBaseLocationExpression()
m_errorReporter.parserError(
1994_error,
m_scanner->currentLocation(),
"\'layout\' should be followed by \'at <storage-base-expression>\'."
"Expected \'at\' but got " + tokenName(m_scanner->currentToken())
);

advance();
Expand Down

0 comments on commit c2d435a

Please # to comment.