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
@@ -103,11 +103,11 @@ fun testInnerFunctions() {
fun testFunctionLiterals() {
var x = 1
var <!UNUSED_VARIABLE!>fl<!> = { (): Int ->
var <!UNUSED_VARIABLE!>fl<!> = {
x
}
var y = 2
var <!UNUSED_VARIABLE!>fl1<!> = { (): Unit ->
var <!UNUSED_VARIABLE!>fl1<!> = {
doSmth(y)
}
}