[fine] More resilience
We don't lose function declarations and whatnot, although we get lost with broken return types.
This commit is contained in:
parent
93c9dcd13b
commit
7f30d0ccc3
3 changed files with 98 additions and 39 deletions
|
|
@ -17,6 +17,5 @@ fun test() {
|
|||
// matklad talks about in his resilient parser article.
|
||||
//
|
||||
// @expect-errors:
|
||||
// | 7:12: Error at '{': expected an expression
|
||||
// | 7:12: Error at '{': expect ';' to end a let statement
|
||||
// | 7:26: cannot find value foo here
|
||||
// | 8:0: Error at '}': unbalanced '}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue