Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/Jet124.jet
T
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00

9 lines
161 B
Plaintext

fun foo1() : (Int) -> Int = { (x: Int) -> x }
fun foo() {
val h : (Int) -> Int = foo1();
h(1)
val m : (Int) -> Int = {(a : Int) -> 1}//foo1()
m(1)
}