Merge pull request #9649 from a3d4/improve-error-coverage-erorrecovery

Complete test coverage for errors related to parser error recovery
This commit is contained in:
chriseth
2020-08-31 18:33:19 +02:00
committed by GitHub
4 changed files with 17 additions and 9 deletions
@@ -0,0 +1,10 @@
pragma solidity >=0.0.0;
contract Error7 {
constructor() {
a =
// ----
// ParserError 6933: (76-76): Expected primary expression.
// ParserError 1957: (76-76): In Statement, ';'is expected; got end of source instead.
// ParserError 1957: (76-76): In Block, '}'is expected; got end of source instead.
// ParserError 1957: (76-76): In ContractDefinition, '}'is expected; got end of source instead.