[fine] Don't panic on this parse error

This commit is contained in:
John Doty 2024-01-28 22:12:44 -08:00
parent 607847abc3
commit f634e4da18
2 changed files with 19 additions and 4 deletions

View file

@ -0,0 +1,8 @@
fun test() {
if true true { }
}
// NOTE: These errors should be better
// @expect-errors:
// | 2:10: Error at 'true': expected a block after `if`
// | 2:15: Error at '{': expect ';' to end an expression statement