51b01b5d7d
Also don't do unnecessary and failing casts in CodegenAnnotatingVisitor for SAM adapters #KT-3173 Fixed #KT-3999 Fixed #KT-4682 Fixed
11 lines
114 B
Kotlin
11 lines
114 B
Kotlin
class A
|
|
|
|
fun foo(plusAssign: A.(A) -> Unit) {
|
|
A() += A()
|
|
}
|
|
|
|
fun box(): String {
|
|
foo { }
|
|
return "OK"
|
|
}
|