Added tests; weird & ugly workaround in the parser

This commit is contained in:
Dmitry Boulytchev 2019-09-22 22:25:05 +03:00
parent d69cb3d49d
commit 39388d77fd
13 changed files with 108 additions and 10 deletions

20
regression/test059.expr Normal file
View file

@ -0,0 +1,20 @@
fun f (l) {
case l of
{} -> skip
| h : tl -> h (); f (tl)
esac
}
fun a () {
write (0)
}
fun b () {
write (1)
}
fun c () {
write (2)
}
f ({a, b, c})