c5c0cbccde
Before this commit, function with same name but different signature wasn't counted as name conflict, now it is - just because that exact check in this place could be too complex and error-prone Enhancement for KT-27539
13 lines
186 B
Kotlin
Vendored
13 lines
186 B
Kotlin
Vendored
// PROBLEM: none
|
|
|
|
class Test {
|
|
companion object {
|
|
fun f(x: Int, y: Int) = 1
|
|
}
|
|
|
|
fun f(x: Int, y: String) = 2
|
|
|
|
fun test() {
|
|
<caret>Companion.f(1, 2)
|
|
}
|
|
} |