12b11bd034
This is the way it works in K1. See `OverloadingConflictResolver.kt:345`. ^KT-57568 Fixed Merge-request: KT-MR-9395 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
13 lines
165 B
Kotlin
Vendored
13 lines
165 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// ISSUE: KT-57568
|
|
|
|
fun <T, K> T.convert(): K = null!!
|
|
|
|
fun of(size: ULong) {
|
|
of(size.convert())
|
|
}
|
|
|
|
fun of(size: Int) {}
|
|
|
|
fun of(size: Long) {}
|