Rename: jps-plugin -> jps/jps-plugin
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
annotation class Ann1
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
class Ann1
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
annotation class Ann1
|
||||
+1
@@ -0,0 +1 @@
|
||||
annotation class Ann2
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
@Ann1
|
||||
class UseAnn1
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
@Ann2
|
||||
class UseAnn2
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/Ann1.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
End of files
|
||||
Compiling files:
|
||||
src/Ann1.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/UseAnn1Class.kt
|
||||
src/useAnn1Fun.kt
|
||||
src/useAnn1Val.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/UseAnn1.class
|
||||
out/production/module/UseAnn1FunKt.class
|
||||
out/production/module/UseAnn1ValKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/UseAnn1Class.kt
|
||||
src/useAnn1Fun.kt
|
||||
src/useAnn1Val.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
'Ann1' is not an annotation class
|
||||
'Ann1' is not an annotation class
|
||||
'Ann1' is not an annotation class
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/Ann1.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/Ann1.kt
|
||||
src/UseAnn1Class.kt
|
||||
src/useAnn1Fun.kt
|
||||
src/useAnn1Val.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
@Ann1
|
||||
fun useAnn1() {}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
@Ann1
|
||||
val useAnn1Val = 0
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
@Ann2
|
||||
fun useAnn2() {}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
@Ann2
|
||||
val useAnn2Val = 0
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
package foo
|
||||
|
||||
annotation class Ann
|
||||
|
||||
@Ann
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package foo
|
||||
|
||||
annotation class Ann
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AChild : A()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AGrandChild : AChild()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class ATypeParameter<T : A>
|
||||
+108
@@ -0,0 +1,108 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/bar/ImportStarKt.class
|
||||
out/production/module/bar/ReferencedByFqNameKt.class
|
||||
out/production/module/foo/AChild.class
|
||||
out/production/module/foo/AGrandChild.class
|
||||
out/production/module/foo/ATypeParameter.class
|
||||
out/production/module/foo/ClassLiteralKt.class
|
||||
out/production/module/foo/FunctionParameterKt.class
|
||||
out/production/module/foo/GetAKt.class
|
||||
out/production/module/foo/ReturnTypeImplicitKt.class
|
||||
out/production/module/foo/ReturnTypeKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/A.class
|
||||
out/production/module/foo/Ann.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/bar/ImportStarKt.class
|
||||
out/production/module/bar/ReferencedByFqNameKt.class
|
||||
out/production/module/foo/AChild.class
|
||||
out/production/module/foo/AGrandChild.class
|
||||
out/production/module/foo/ATypeParameter.class
|
||||
out/production/module/foo/ClassLiteralKt.class
|
||||
out/production/module/foo/FunctionParameterKt.class
|
||||
out/production/module/foo/GetAKt.class
|
||||
out/production/module/foo/ReturnTypeImplicitKt.class
|
||||
out/production/module/foo/ReturnTypeKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun classLiteral() {
|
||||
A::class
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun useA(a: A) {
|
||||
a.f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getA() = A()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.A
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package bar
|
||||
|
||||
import foo.*
|
||||
|
||||
fun importStarUse() {
|
||||
A()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package bar
|
||||
|
||||
fun createAByFqName() {
|
||||
foo.A()
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAExplicit(): A = A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAImplicit() = getA()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A<T> {
|
||||
open fun f(x: T) {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class AChild : A<Int>()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
class AChild : A<Int>() {
|
||||
override fun f(x: Int) {}
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/AChild.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/useAChild.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/UseAChildKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/useAChild.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun useAChild(a: AChild) {
|
||||
a.f(0)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AChild : A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AGrandChild : AChild()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class ATypeParameter<T : A>
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/bar/ImportStarKt.class
|
||||
out/production/module/bar/ReferencedByFqNameKt.class
|
||||
out/production/module/foo/AChild.class
|
||||
out/production/module/foo/AGrandChild.class
|
||||
out/production/module/foo/ATypeParameter.class
|
||||
out/production/module/foo/ClassLiteralKt.class
|
||||
out/production/module/foo/FunctionParameterKt.class
|
||||
out/production/module/foo/GetAKt.class
|
||||
out/production/module/foo/ReturnTypeImplicitKt.class
|
||||
out/production/module/foo/ReturnTypeKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
This type is final, so it cannot be inherited from
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun classLiteral() {
|
||||
A::class
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun useA(a: A) {
|
||||
a.f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getA() = A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.A
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package bar
|
||||
|
||||
import foo.*
|
||||
|
||||
fun importStarUse() {
|
||||
A()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package bar
|
||||
|
||||
fun createAByFqName() {
|
||||
foo.A()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAExplicit(): A = A()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAImplicit() = getA()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
interface A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AChild : A()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AGrandChild : AChild()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class ATypeParameter<T : A>
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/bar/ImportStarKt.class
|
||||
out/production/module/bar/ReferencedByFqNameKt.class
|
||||
out/production/module/foo/AChild.class
|
||||
out/production/module/foo/AGrandChild.class
|
||||
out/production/module/foo/ATypeParameter.class
|
||||
out/production/module/foo/ClassLiteralKt.class
|
||||
out/production/module/foo/FunctionParameterKt.class
|
||||
out/production/module/foo/GetAKt.class
|
||||
out/production/module/foo/ReturnTypeImplicitKt.class
|
||||
out/production/module/foo/ReturnTypeKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
This class does not have a constructor
|
||||
Interface A does not have constructors
|
||||
Interface A does not have constructors
|
||||
Interface A does not have constructors
|
||||
Interface A does not have constructors
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/foo/A$DefaultImpls.class
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun classLiteral() {
|
||||
A::class
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun dummy() {}
|
||||
jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface/functionParameter.kt
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun useA(a: A) {
|
||||
a.f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getA() = A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.A
|
||||
jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface/importAGrandChild.kt
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package bar
|
||||
|
||||
import foo.*
|
||||
|
||||
fun importStarUse() {
|
||||
A()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package bar
|
||||
|
||||
fun createAByFqName() {
|
||||
foo.A()
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAExplicit(): A = A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAImplicit() = getA()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
private open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AChild : A()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AGrandChild : AChild()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class ATypeParameter<T : A>
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/bar/ImportStarKt.class
|
||||
out/production/module/bar/ReferencedByFqNameKt.class
|
||||
out/production/module/foo/AChild.class
|
||||
out/production/module/foo/AGrandChild.class
|
||||
out/production/module/foo/ATypeParameter.class
|
||||
out/production/module/foo/ClassLiteralKt.class
|
||||
out/production/module/foo/FunctionParameterKt.class
|
||||
out/production/module/foo/GetAKt.class
|
||||
out/production/module/foo/ReturnTypeImplicitKt.class
|
||||
out/production/module/foo/ReturnTypeKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Cannot access 'A': it is private in file
|
||||
'public' subclass exposes its 'private-in-file' supertype A
|
||||
'public' generic exposes its 'private-in-file' parameter bound type A
|
||||
Cannot access 'A': it is private in file
|
||||
Cannot access 'A': it is private in file
|
||||
'public' function exposes its 'private-in-file' parameter type A
|
||||
Cannot access 'A': it is private in file
|
||||
Cannot access 'A': it is private in file
|
||||
'public' function exposes its 'private-in-file' return type A
|
||||
Cannot access 'A': it is private in file
|
||||
Cannot access 'A': it is private in file
|
||||
Cannot access 'A': it is private in file
|
||||
Cannot access 'A': it is private in file
|
||||
'public' function exposes its 'private-in-file' return type A
|
||||
Cannot access 'A': it is private in file
|
||||
Cannot access 'A': it is private in file
|
||||
'public' function exposes its 'private-in-file' return type A
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/AChild.kt
|
||||
src/AGrandChild.kt
|
||||
src/ATypeParameter.kt
|
||||
src/classLiteral.kt
|
||||
src/functionParameter.kt
|
||||
src/getA.kt
|
||||
src/importA.kt
|
||||
src/importAGrandChild.kt
|
||||
src/importStar.kt
|
||||
src/referencedByFqName.kt
|
||||
src/returnType.kt
|
||||
src/returnTypeImplicit.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun classLiteral() {
|
||||
A::class
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun useA(a: A) {
|
||||
a.f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getA() = A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.A
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package bar
|
||||
|
||||
import foo.*
|
||||
|
||||
fun importStarUse() {
|
||||
A()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package bar
|
||||
|
||||
fun createAByFqName() {
|
||||
foo.A()
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAExplicit(): A = A()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun getAImplicit() = getA()
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
open class A {
|
||||
}
|
||||
|
||||
open class X {
|
||||
open fun f() {}
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
open class A {
|
||||
open class X {
|
||||
open fun g() {}
|
||||
}
|
||||
}
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
open class B : A() {
|
||||
open inner class Y : X()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
open class C : B() {
|
||||
open inner class Z : Y() {
|
||||
override fun f() {}
|
||||
}
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
open class C : B() {
|
||||
open inner class Z : Y() {
|
||||
override fun g() {}
|
||||
}
|
||||
}
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Marked as dirty by Kotlin:
|
||||
src/A.kt
|
||||
src/B.kt
|
||||
src/C.kt
|
||||
Cleaning output files:
|
||||
out/production/module/A.class
|
||||
out/production/module/B$Y.class
|
||||
out/production/module/B.class
|
||||
out/production/module/C$Z.class
|
||||
out/production/module/C.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/X.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/B.kt
|
||||
src/C.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
fun foo() {}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class B : A() {
|
||||
fun bar() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class B {
|
||||
fun bar() {}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
class C : B() {
|
||||
fun baz() {}
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/B.kt
|
||||
src/C.kt
|
||||
src/createA.kt
|
||||
src/createB.kt
|
||||
src/createC.kt
|
||||
src/useAfoo.kt
|
||||
src/useBbar.kt
|
||||
src/useCbaz.kt
|
||||
Cleaning output files:
|
||||
out/production/module/foo/B.class
|
||||
out/production/module/foo/C.class
|
||||
out/production/module/use/CreateAKt.class
|
||||
out/production/module/use/CreateBKt.class
|
||||
out/production/module/use/CreateCKt.class
|
||||
out/production/module/use/UseAfooKt.class
|
||||
out/production/module/use/UseBbarKt.class
|
||||
out/production/module/use/UseCbazKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/B.kt
|
||||
src/C.kt
|
||||
src/createA.kt
|
||||
src/createB.kt
|
||||
src/createC.kt
|
||||
src/useAfoo.kt
|
||||
src/useBbar.kt
|
||||
src/useCbaz.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Unresolved reference: A
|
||||
Unresolved reference: A
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Compiling files:
|
||||
src/B.kt
|
||||
src/C.kt
|
||||
src/createA.kt
|
||||
src/createB.kt
|
||||
src/createC.kt
|
||||
src/funA.kt
|
||||
src/useAfoo.kt
|
||||
src/useBbar.kt
|
||||
src/useCbaz.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package use
|
||||
|
||||
import foo.*
|
||||
|
||||
fun createA() = A()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package use
|
||||
|
||||
import foo.*
|
||||
|
||||
fun createB() = B()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package use
|
||||
|
||||
import foo.*
|
||||
|
||||
fun createC() = C()
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package foo
|
||||
|
||||
fun A(a: Int = 1) = AnotherA()
|
||||
|
||||
class AnotherA {
|
||||
fun foo() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package other
|
||||
|
||||
fun f() {}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package use
|
||||
|
||||
import foo.*
|
||||
|
||||
fun useAfoo() {
|
||||
createA().foo()
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package use
|
||||
|
||||
import foo.*
|
||||
|
||||
fun useBbar() {
|
||||
createB().bar()
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user