1f120ecd20
- At first, get rid of a kind of interceptTowerGroup callback and use explicit towerGroup construction instead - Get rid of INVOKE_RECEIVER (not sure exactly why it was needed) - Make comparison consistent with tower-levels priority of K2 (see the comments in the compareTo code) ^KT-37375 Fixed ^KT-58940 Open
18 lines
266 B
Kotlin
Vendored
18 lines
266 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// ISSUE: KT-37375
|
|
|
|
val foo: Any = Any()
|
|
|
|
fun bar() {
|
|
operator fun Any.invoke(): String = ""
|
|
|
|
fun baz() {
|
|
operator fun Any.invoke(): Int = 1
|
|
|
|
fun barbaz() {
|
|
takeInt(foo())
|
|
}
|
|
}
|
|
}
|
|
|
|
fun takeInt(x: Int) {} |