Skip to content

Commit 547cb11

Browse files
committed
temp commit to catch errors removals
1 parent b5a2161 commit 547cb11

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libsolidity/parsing/Parser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(
916916
if (_options.allowIndexed && token == Token::Indexed)
917917
{
918918
if (isIndexed)
919-
parserError(5399_error, "Indexed already specified.");
919+
parserError(1399_error, "Indexed already specified.");
920920

921921
isIndexed = true;
922922
}

test/libsolidity/syntaxTests/events/event_multiple_indexed_of_one_parameter.sol

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ contract c {
33
event e2(uint indexed indexed a, bytes3 indexed s);
44
}
55
// ----
6-
// ParserError 5399: (56-63): Indexed already specified.
7-
// ParserError 5399: (80-87): Indexed already specified.
8-
// ParserError 5399: (88-95): Indexed already specified.
9-
// ParserError 5399: (126-133): Indexed already specified.
6+
// ParserError 1399: (56-63): Indexed already specified.
7+
// ParserError 1399: (80-87): Indexed already specified.
8+
// ParserError 1399: (88-95): Indexed already specified.
9+
// ParserError 1399: (126-133): Indexed already specified.

0 commit comments

Comments
 (0)