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 @@
open class A
@@ -0,0 +1 @@
open class B : A()
@@ -0,0 +1 @@
open class B
@@ -0,0 +1 @@
open class B : A()
@@ -0,0 +1 @@
class C : B()
@@ -0,0 +1 @@
class D : A()
@@ -0,0 +1,53 @@
================ Step #1 =================
Cleaning output files:
out/production/module/B.class
out/production/module/META-INF/module.kotlin_module
End of files
Compiling files:
src/B.kt
End of files
Marked as dirty by Kotlin:
src/C.kt
src/callUseAWithB.kt
src/callUseAWithC.kt
src/getB.kt
src/getC.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Cleaning output files:
out/production/module/C.class
out/production/module/CallUseAWithBKt.class
out/production/module/CallUseAWithCKt.class
out/production/module/GetBKt.class
out/production/module/GetCKt.class
out/production/module/META-INF/module.kotlin_module
End of files
Compiling files:
src/C.kt
src/callUseAWithB.kt
src/callUseAWithC.kt
src/getB.kt
src/getC.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Type mismatch: inferred type is B but A was expected
Type mismatch: inferred type is C but A was expected
================ Step #2 =================
Cleaning output files:
out/production/module/B.class
End of files
Compiling files:
src/B.kt
src/C.kt
src/callUseAWithB.kt
src/callUseAWithC.kt
src/getB.kt
src/getC.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,3 @@
fun callUseAWithA() {
useA(getA())
}
@@ -0,0 +1,3 @@
fun callUseAWithB() {
useA(getB())
}
@@ -0,0 +1,3 @@
fun callUseAWithC() {
useA(getC())
}
@@ -0,0 +1,3 @@
fun callUseAWithD() {
useA(getD())
}
@@ -0,0 +1 @@
fun getA() = A()
@@ -0,0 +1 @@
fun getB() = B()
@@ -0,0 +1 @@
fun getC() = C()
@@ -0,0 +1 @@
fun getD() = D()
@@ -0,0 +1 @@
fun useA(a: A) {}