Allowed shorthand parameter list with type reference in lambda.

This commit is contained in:
Stanislav Erokhin
2015-03-11 18:59:54 +03:00
parent 7a8341d0f1
commit c24c3daf54
7 changed files with 259 additions and 13 deletions
@@ -13,7 +13,14 @@ fun foo() {
{T.t(a) -> a}
{T.t -(a : A) -> a}
{a : b -> f}
{a : b, -> f}
{a : , c -> f}
{a : -> f}
{a, -> f}
{a : b, }
{a : , }
{T.a : b -> f}
{(a, b) }