Files
kotlin-fork/idea/testData/quickfix/addStarProjections/when/unqualifiedMapOneArg.kt
T
2017-07-12 14:37:27 +03:00

9 lines
240 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.AddStarProjectionsFix" "false"
// ERROR: 2 type arguments expected for interface Map<K, out V>
public fun foo(a: Any) {
when (a) {
is <caret>Map<Int> -> {}
else -> {}
}
}