Rename: jps-plugin -> jps/jps-plugin

This commit is contained in:
Nikita Bobko
2021-12-29 19:21:54 +01:00
parent d8f99d8974
commit db7472a376
2317 changed files with 0 additions and 0 deletions
@@ -0,0 +1 @@
class A<in T>(x: T)
@@ -0,0 +1 @@
class A<out T>(x: T)
@@ -0,0 +1 @@
open class B
@@ -0,0 +1 @@
class C : B()
@@ -0,0 +1,8 @@
class D<T>(x: T) {
companion object {
val b = D(B())
val c = D(C())
}
var a = A(x)
}
@@ -0,0 +1,46 @@
================ Step #1 =================
Cleaning output files:
out/production/module/A.class
out/production/module/META-INF/module.kotlin_module
End of files
Compiling files:
src/A.kt
End of files
Marked as dirty by Kotlin:
src/D.kt
src/useA.kt
src/useD.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Cleaning output files:
out/production/module/D$Companion.class
out/production/module/D.class
out/production/module/META-INF/module.kotlin_module
out/production/module/UseAKt.class
out/production/module/UseDKt.class
End of files
Compiling files:
src/D.kt
src/useA.kt
src/useD.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Type mismatch: inferred type is A<B> but A<C> was expected
Type mismatch: inferred type is A<B> but A<C> was expected
================ Step #2 =================
Cleaning output files:
out/production/module/A.class
End of files
Compiling files:
src/A.kt
src/D.kt
src/useA.kt
src/useD.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,5 @@
fun useA() {
var b: A<B> = A(B())
var c: A<C> = A(C())
c = b
}
@@ -0,0 +1,5 @@
fun useA() {
var b: A<B> = A(B())
var c: A<C> = A(C())
b = c
}
@@ -0,0 +1,3 @@
fun useD() {
D.c.a = D.b.a
}
@@ -0,0 +1,3 @@
fun useD() {
D.b.a = D.c.a
}