Rename: Initial support of naming conventions
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class A(val n: Int) {
|
||||
fun foo(i: Int, a: A) {}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
var a = A(1)
|
||||
a.foo(2, A(2))
|
||||
a.foo(2, A(2))
|
||||
a[2]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class A(val n: Int) {
|
||||
fun set(i: Int, a: A) {}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
var a = A(1)
|
||||
a.set(2, A(2))
|
||||
a[2] = A(2)
|
||||
a[2]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "KOTLIN_FUNCTION",
|
||||
"classFQN": "A",
|
||||
"oldName": "set",
|
||||
"newName": "foo",
|
||||
"mainFile": "set.kt"
|
||||
}
|
||||
Reference in New Issue
Block a user