Skip to content

Commit b890e94

Browse files
Test: Implement edge case to parse missed 'Rpar'.
1 parent 004b199 commit b890e94

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

compiler/tests/cases/parser_cases.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,5 +1589,13 @@
15891589
"instructions": [["ReturnValue",0]],
15901590
"annotations": {},
15911591
"errors": ["'break' outside loop"]
1592+
},
1593+
{
1594+
"src": "print(\"hello\"",
1595+
"constants": [],
1596+
"names": [],
1597+
"instructions": [["ReturnValue", 0]],
1598+
"annotations": {},
1599+
"errors": ["expected Rpar"]
15921600
}
15931601
]

0 commit comments

Comments
 (0)