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,3 @@
open class A {
val x: Any = "A.x"
}
@@ -0,0 +1,3 @@
private open class A {
val x: Any? = null
}
@@ -0,0 +1,3 @@
open class A {
val x: Any? = null
}
@@ -0,0 +1,3 @@
class B : A()
fun Any.string() = this as String
@@ -0,0 +1,76 @@
================ 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/B.kt
src/getA.kt
src/getB.kt
src/useA.kt
src/useB.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Cleaning output files:
out/production/module/B.class
out/production/module/BKt.class
out/production/module/GetAKt.class
out/production/module/GetBKt.class
out/production/module/META-INF/module.kotlin_module
out/production/module/UseAKt.class
out/production/module/UseBKt.class
End of files
Compiling files:
src/B.kt
src/getA.kt
src/getB.kt
src/useA.kt
src/useB.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' 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
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
Cannot access 'x': it is invisible (private in a supertype) in 'B'
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
================ Step #2 =================
Cleaning output files:
out/production/module/A.class
End of files
Compiling files:
src/A.kt
src/B.kt
src/getA.kt
src/getB.kt
src/useA.kt
src/useB.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
================ Step #3 =================
Compiling files:
src/A.kt
src/B.kt
src/getA.kt
src/getB.kt
src/useA.kt
src/useB.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1 @@
fun getA() = A()
@@ -0,0 +1 @@
fun getB() = B()
@@ -0,0 +1,3 @@
fun useA() {
getA().x.string()
}
@@ -0,0 +1,3 @@
fun useA() {
getA().x?.string()
}
@@ -0,0 +1,3 @@
fun useB() {
getB().x.string()
}
@@ -0,0 +1,3 @@
fun useB() {
getB().x?.string()
}