Mute syntax error when function name was omitted

This commit is contained in:
Stanislav Erokhin
2015-02-05 19:24:16 +03:00
parent a33450395c
commit a8536fef9b
8 changed files with 848 additions and 3 deletions
@@ -0,0 +1,8 @@
fun )
fun [a] T.(a : ) : bar
fun [a()] T.<>(a : foo) : bar
fun [a()] T.<T, , T>(a : foo) : bar
fun [a()] T.<, T, , T>(a : foo) : bar
fun [a()] T.<T, T>(, a : foo, , a: b) : bar
fun () : = a;