9a0c3c47c8
^KT-40700 Fixed
12 lines
247 B
Kotlin
Vendored
12 lines
247 B
Kotlin
Vendored
// ERROR: Unsupported [Dynamic types are not supported in this context]
|
|
|
|
fun foo() {
|
|
fun <T> bar(c: () -> dynamic, f: () -> T): Unit {}
|
|
bar({
|
|
val a = 1
|
|
Unit
|
|
}) {
|
|
val a = 1
|
|
Unit<caret>
|
|
}
|
|
} |