Rename: jps-plugin -> jps/jps-plugin
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
open class A(val x: Int)
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
open class A(val x: Int) {
|
||||
constructor(x: String) : this(x.toInt())
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
class AChild(x: Int) : A(x)
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun A(x: String) = A(x.toInt())
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/AChild.kt
|
||||
src/AConstructorFunction.kt
|
||||
src/createAFromInt.kt
|
||||
src/createAFromString.kt
|
||||
src/useA.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Conflicting overloads: public constructor A(x: String) defined in A, public fun A(x: String): A defined in root package
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/AChild.kt
|
||||
src/createAFromInt.kt
|
||||
src/createAFromString.kt
|
||||
src/useA.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+45
@@ -0,0 +1,45 @@
|
||||
================ 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
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Conflicting overloads: public constructor A(x: String) defined in A, public fun A(x: String): A defined in root package
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/AConstructorFunctionKt.class
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/CreateAFromStringKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/createAFromString.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/createAFromInt.kt
|
||||
src/useA.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/AChild.class
|
||||
out/production/module/CreateAFromIntKt.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/UseAKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/createAFromInt.kt
|
||||
src/useA.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun createAFromInt() = A(5)
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun createAFromString() = A("5")
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
fun useA(a: A) {}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
fun useAChild(a: AChild) {}
|
||||
Reference in New Issue
Block a user