Move: Nested classes support

#KT-9027 In Progress
This commit is contained in:
Alexey Sedunov
2016-01-12 20:41:02 +03:00
parent 0304bd1dc1
commit d662b02e95
159 changed files with 2588 additions and 197 deletions
@@ -0,0 +1,14 @@
package test
class A {
inner class OuterOuterY
inner class B {
inner class C {
fun test() {
OuterOuterY()
this@A.OuterOuterY()
}
}
}
}
@@ -0,0 +1,14 @@
package test
class A {
inner class OuterOuterY
inner class B {
inner class <caret>C {
fun test() {
OuterOuterY()
this@A.OuterOuterY()
}
}
}
}
@@ -0,0 +1,2 @@
Indirect outer instances won't be extracted: OuterOuterY()
Indirect outer instances won't be extracted: this@A
@@ -0,0 +1,6 @@
{
"mainFile": "test.kt",
"type": "MOVE_KOTLIN_NESTED_CLASS",
"outerInstanceParameter": "a",
"withRuntime": "true"
}