Rename: jps-plugin -> jps/jps-plugin
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun a() = "a"
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
@file:JvmName("B")
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/BKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/b.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package other
|
||||
|
||||
fun other() = "other"
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println(a() + b() + other.other())
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
public class A {}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
class B
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/MainKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Compiling files:
|
||||
src/B.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
fun main(args: Array<String>) {
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Compiling files:
|
||||
src/class2.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/Klass.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
End of files
|
||||
Compiling files:
|
||||
src/class1.kt
|
||||
src/class2.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Redeclaration: Klass
|
||||
Redeclaration: Klass
|
||||
+1
@@ -0,0 +1 @@
|
||||
class Klass
|
||||
+1
@@ -0,0 +1 @@
|
||||
class Klass
|
||||
@@ -0,0 +1,11 @@
|
||||
open class A {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun f() {}
|
||||
|
||||
@JvmStatic
|
||||
fun g() {}
|
||||
}
|
||||
|
||||
fun h() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class AChild : A() {
|
||||
fun j() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class AChild {
|
||||
fun j() {}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:JvmName("A")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
fun f() {}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:JvmName("A")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
fun g() {}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/A$Companion.class
|
||||
out/production/module/A.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/getA.kt
|
||||
src/getAChild.kt
|
||||
src/useF.kt
|
||||
src/useG.kt
|
||||
src/useH.kt
|
||||
src/useJ.kt
|
||||
Cleaning output files:
|
||||
out/production/module/AChild.class
|
||||
out/production/module/GetAChildKt.class
|
||||
out/production/module/GetAKt.class
|
||||
out/production/module/UseFKt.class
|
||||
out/production/module/UseGKt.class
|
||||
out/production/module/UseHKt.class
|
||||
out/production/module/UseJKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/APartF.kt
|
||||
src/APartG.kt
|
||||
src/getA.kt
|
||||
src/getAChild.kt
|
||||
src/useF.kt
|
||||
src/useG.kt
|
||||
src/useH.kt
|
||||
src/useJ.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Unresolved reference: A
|
||||
Unresolved reference: A
|
||||
Unresolved reference: A
|
||||
Unresolved reference: A
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/APartF.kt
|
||||
src/APartG.kt
|
||||
src/getAChild.kt
|
||||
src/useF.kt
|
||||
src/useG.kt
|
||||
src/useJ.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun getA() = A()
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun getAChild() = AChild()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useF() {
|
||||
A.f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useF() {
|
||||
f()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useG() {
|
||||
A.g()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useG() {
|
||||
g()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useH() {
|
||||
getA().h()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useJ() {
|
||||
getAChild().j()
|
||||
}
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/Utils.class
|
||||
out/production/module/test/Utils__Fun2Kt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/fun2.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
|
||||
fun function(list: List<Any>): Unit defined in test
|
||||
fun function(list: List<String>): Unit defined in test in file fun2.kt
|
||||
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
|
||||
fun function(list: List<Any>): Unit defined in test
|
||||
fun function(list: List<String>): Unit defined in test in file fun2.kt
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
@file:JvmName("Utils")
|
||||
@file:JvmMultifileClass
|
||||
package test
|
||||
|
||||
fun function(list: List<Any>) {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
@file:JvmName("Utils")
|
||||
@file:JvmMultifileClass
|
||||
package test
|
||||
|
||||
val x = 1
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
@file:JvmName("Utils")
|
||||
@file:JvmMultifileClass
|
||||
package test
|
||||
|
||||
val x = 1
|
||||
|
||||
fun function(list: List<String>) {
|
||||
|
||||
}
|
||||
+8
@@ -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)
|
||||
Vendored
+8
@@ -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)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class B() : A(20)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class C : B()
|
||||
Vendored
+32
@@ -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
|
||||
------------------------------------------
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun createADefault() {
|
||||
A()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun createANonDefault() {
|
||||
A(15)
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun createB() {
|
||||
B()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun useA(a: A) {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun useB(b: B) {}
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/inline/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/inline.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/usage/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun dummy() {}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
package inline
|
||||
|
||||
class A {
|
||||
var z = 0
|
||||
|
||||
@JvmName("fff")
|
||||
inline fun f(): Int = 0
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
package inline
|
||||
|
||||
class A {
|
||||
var z = 0
|
||||
|
||||
@JvmName("fff")
|
||||
inline fun f(): Int = 1
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package usage
|
||||
|
||||
fun use() = inline.A().f()
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/inline/InlineKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/inline.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/usage/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package inline
|
||||
|
||||
@JvmName("test") inline fun g() = 0
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package inline
|
||||
|
||||
@JvmName("test") inline fun g() = 1
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package usage
|
||||
|
||||
val x = inline.g()
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/inline/InlineKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/inline.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/usage/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
package inline
|
||||
|
||||
inline val f: Int
|
||||
@JvmName("getG") get() = 0
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package inline
|
||||
|
||||
inline val f: Int
|
||||
@JvmName("getG") get() = 1
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package usage
|
||||
|
||||
val x = inline.f
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
abstract class Introspector<M : Model>(protected val model: Model) {
|
||||
protected abstract inner class Retriever(protected val transaction: Any) {
|
||||
protected var model: Model = this@Introspector.model
|
||||
}
|
||||
|
||||
protected abstract inner class SchemaRetriever(transaction: Any): Retriever(transaction) {
|
||||
protected inline fun inSchema(crossinline modifier: (Any) -> Unit) =
|
||||
model.modify { schema -> modifier.invoke(schema) }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
class IntrospectorImpl(model: ModuleImpl) : Introspector<ModuleImpl>(model) {
|
||||
private inner class SchemaRetriever(transaction: Any) : Introspector<ModuleImpl>.SchemaRetriever(transaction) {
|
||||
internal fun retrieve() {
|
||||
inSchema { schema -> println(schema) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class ModuleImpl : Model {
|
||||
override fun modify(modifier: ModelModifier) {}
|
||||
}
|
||||
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
public interface Model {
|
||||
void modify(ModelModifier modifier);
|
||||
}
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public interface ModelModifier {
|
||||
void perform(Object element);
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Compiling files:
|
||||
src/IntrospectorImpl.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,6 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
@JvmName("g")
|
||||
fun f() {}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
@JvmName("h")
|
||||
fun f() {}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class AChild : A()
|
||||
@@ -0,0 +1,25 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/AChild.kt
|
||||
src/useAChild.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/AChild.class
|
||||
out/production/module/foo/UseAChildKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/AChild.kt
|
||||
src/useAChild.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun useAChild(a: AChild) {
|
||||
a.f()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun main(args: Array<String>) = println("a")
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun main(args: Array<String>) = println("A")
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun main(args: Array<String>) = println("b")
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/AKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun a() = "a"
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun b() = ""
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun b() = ""
|
||||
fun b(s: String = "") = s
|
||||
jps/jps-plugin/testData/incremental/withJava/other/multifileClassAddTopLevelFunWithDefault/build.log
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/Test.class
|
||||
out/production/module/test/Test__BKt.class
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/test/Test__AKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
src/b.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/usage/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
package usage
|
||||
|
||||
import test.*
|
||||
|
||||
fun usage() {
|
||||
a()
|
||||
b()
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun a() = "a"
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Compiling files:
|
||||
src/b.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
src/a.kt
|
||||
src/b.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/Test.class
|
||||
out/production/module/test/Test__AKt.class
|
||||
out/production/module/test/Test__BKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
src/b.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
src/b.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun a() = "a"
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun b() = "bcd"
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/Test.class
|
||||
out/production/module/test/Test__BKt.class
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/test/Test__AKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
src/b.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
src/b.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun a() = "a"
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
@file:[JvmName("Test1") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/Test.class
|
||||
out/production/module/test/Test__BKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/b.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/Test.class
|
||||
out/production/module/test/Test__AKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+1
@@ -0,0 +1 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm inline function")
|
||||
body()
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package other
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm other inline function")
|
||||
body()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
f { println("to be inlined") }
|
||||
other.f { println("to be inlined") }
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
val property = ":)"
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm inline function" + property)
|
||||
body()
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
package other
|
||||
|
||||
val property = ":)"
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm inline function" + property)
|
||||
body()
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user