Complete test coverage for errors related to parser error recovery

This commit is contained in:
a3d4
2020-08-20 16:14:39 +02:00
parent 4a720a6511
commit 0ee4a85a84
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.