Fixed test data for new lambda syntax

This commit is contained in:
Stanislav Erokhin
2015-03-18 00:25:06 +03:00
parent 371908a280
commit 43e24f6b0d
54 changed files with 103 additions and 113 deletions
@@ -13,7 +13,7 @@ fun invoker(<!UNUSED_PARAMETER!>gen<!> : () -> Int) : Int = 0
//more tests
fun t1() {
val <!UNUSED_VARIABLE!>v<!> = @l{ () : Int ->
val <!UNUSED_VARIABLE!>v<!> = @l{
return@l 111
}
}
@@ -41,7 +41,7 @@ fun t3() : String {
}
)
invoker(
@l{ (): Int ->
@l{
return@l 1
}
)
@@ -57,7 +57,7 @@ fun t4() : Int {
val <!UNUSED_VARIABLE!>h<!> : ()-> String = @l{
return@l "a"
}
val <!UNUSED_VARIABLE!>g<!> : ()-> String = @l{ () : String ->
val <!UNUSED_VARIABLE!>g<!> : ()-> String = @l{
return@l "a"
}