Test incremental facade to class conversion and vice versa
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
open class A {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun f() {}
|
||||
|
||||
@JvmStatic
|
||||
fun g() {}
|
||||
}
|
||||
|
||||
fun h() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class AChild : A() {
|
||||
fun j() {}
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
class AChild {
|
||||
fun j() {}
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
@file:JvmName("A")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
fun f() {}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
@file:JvmName("A")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
fun g() {}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
Cleaning output files:
|
||||
out/production/module/A$Companion.class
|
||||
out/production/module/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/APartF.kt
|
||||
src/APartG.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/AChild.class
|
||||
out/production/module/GetAKt.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/UseFKt.class
|
||||
out/production/module/UseGKt.class
|
||||
out/production/module/UseHKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/getA.kt
|
||||
src/useF.kt
|
||||
src/useG.kt
|
||||
src/useH.kt
|
||||
End of files
|
||||
COMPILATION FAILED
|
||||
Unresolved reference: A
|
||||
Unresolved reference: A
|
||||
Unresolved reference: A
|
||||
Unresolved reference: A
|
||||
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/A.class
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/A__APartFKt.class
|
||||
out/production/module/A__APartGKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/APartF.kt
|
||||
src/APartG.kt
|
||||
src/useF.kt
|
||||
src/useG.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/GetAChildKt.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/UseJKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/getAChild.kt
|
||||
src/useJ.kt
|
||||
End of files
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun getA() = A()
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
fun getAChild() = AChild()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useF() {
|
||||
A.f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useF() {
|
||||
f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useG() {
|
||||
A.g()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useG() {
|
||||
g()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useH() {
|
||||
getA().h()
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
fun useJ() {
|
||||
getAChild().j()
|
||||
}
|
||||
Reference in New Issue
Block a user