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,8 @@
package foo
open class A(x: Int)
// The use of annotation here is intentional, so no change for "fun A" is detected,
// but after adding default value to A constructor, we want to force resolve to the constructor
@Deprecated("Warning", level = DeprecationLevel.WARNING)
fun A() = A(30)
@@ -0,0 +1,8 @@
package foo
open class A(x: Int = 10)
// The use of annotation here is intentional, so no change for "fun A" is detected,
// but after adding default value to A constructor, we want to force resolve to the constructor
@Deprecated("Hidden", level = DeprecationLevel.HIDDEN)
fun A() = A(30)
@@ -0,0 +1,3 @@
package foo
open class B() : A(20)
@@ -0,0 +1,3 @@
package foo
class C : B()
@@ -0,0 +1,32 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/A.class
out/production/module/foo/AKt.class
End of files
Compiling files:
src/A.kt
End of files
Marked as dirty by Kotlin:
src/B.kt
src/createADefault.kt
src/createANonDefault.kt
src/useA.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/B.class
out/production/module/foo/CreateADefaultKt.class
out/production/module/foo/CreateANonDefaultKt.class
out/production/module/foo/UseAKt.class
End of files
Compiling files:
src/B.kt
src/createADefault.kt
src/createANonDefault.kt
src/useA.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,5 @@
package foo
fun createADefault() {
A()
}
@@ -0,0 +1,5 @@
package foo
fun createANonDefault() {
A(15)
}
@@ -0,0 +1,5 @@
package foo
fun createB() {
B()
}
@@ -0,0 +1,3 @@
package foo
fun useA(a: A) {}
@@ -0,0 +1,3 @@
package foo
fun useB(b: B) {}