Diff
Not logged in

Differences From Artifact [45c4aa9e0628516e]:

To Artifact [454c7b7367a1305b]:


630 630 assert_throw!UnexpectedEOF(parseString(`1+`)); 631 631 assert_throw!ParseException(parseString(`1+2}`)); 632 632 assert_throw!UnexpectedEOF(parseString(`let "x"`)); 633 633 assert_throw!UnexpectedEOF(parseString(`var`)); 634 634 assert_throw!ParseException(parseString(`@val x ==`)); 635 635 assert_throw!ParseException(parseString(`if(){1}`)); 636 636 assert_throw!UnexpectedEOF(parseString(`f(`)); 637 + assert_throw!ParseException(parseString(`fun(x y){}`)); 637 638 } 638 639 639 640 unittest 640 641 { 641 642 mixin EasyAST; 642 643 assert_eq(parseString(`def foo(x) { x+1 }; foo`), 643 644 let("foo", "",