Automatic renaming overloads in class or object.
#KT-4642 fixed
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package testing
|
||||
|
||||
object Object {
|
||||
fun foo() {
|
||||
"".foo()
|
||||
}
|
||||
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
|
||||
fun String.foo() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
Object.foo()
|
||||
Object.foo(1)
|
||||
}
|
||||
Reference in New Issue
Block a user