Files
kotlin-fork/compiler/fir/resolve/testData/resolve/cast.kt
T
Mikhail Glukhikh 05e4539019 Set resolved type for lambdas properly during FIR resolve
Partially done by semoro
2019-05-28 10:17:31 +03:00

7 lines
134 B
Kotlin
Vendored

val x = 1
val y = 2 as Any
val f = fun() = 3 as Any
val g = {}
val h: (String) -> Boolean = { _ -> false }
val hError = { _ -> true }