Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/kt8050.kt
T
Mikhail Zarechenskiy 761cf0812b Minor: add test for obsolete issue
#KT-8050 Obsolete
2018-11-20 19:36:50 +03:00

11 lines
202 B
Kotlin
Vendored

private class X
private operator fun X?.plus(<!UNUSED_PARAMETER!>p<!>: Int) = X()
class C {
private val map = hashMapOf<String, X>()
fun f() {
map<!NO_SET_METHOD!>[""]<!> += 1
}
}