mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added error codes to SyntaxTest expectations (updated tests)
This commit is contained in:
@@ -9,4 +9,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError: (81-87): Variable declarations can only be used inside blocks.
|
||||
// SyntaxError 9079: (81-87): Variable declarations can only be used inside blocks.
|
||||
|
||||
@@ -10,4 +10,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError: (109-115): Variable declarations can only be used inside blocks.
|
||||
// SyntaxError 9079: (109-115): Variable declarations can only be used inside blocks.
|
||||
|
||||
@@ -8,4 +8,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError: (107-113): Variable declarations can only be used inside blocks.
|
||||
// SyntaxError 9079: (107-113): Variable declarations can only be used inside blocks.
|
||||
|
||||
@@ -8,4 +8,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError: (89-95): Variable declarations can only be used inside blocks.
|
||||
// SyntaxError 9079: (89-95): Variable declarations can only be used inside blocks.
|
||||
|
||||
@@ -8,4 +8,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError: (92-98): Variable declarations can only be used inside blocks.
|
||||
// SyntaxError 9079: (92-98): Variable declarations can only be used inside blocks.
|
||||
|
||||
Reference in New Issue
Block a user