Add another package part with inline to multi-module inline test
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
Cleaning output files:
|
||||
out/production/module1/META-INF/module1.kotlin_module
|
||||
out/production/module1/inline/InlinePackage.class
|
||||
out/production/module1/inline/Module1_inlineKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/module1_inline.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module1/META-INF/module1.kotlin_module
|
||||
out/production/module1/inline/InlinePackage.class
|
||||
out/production/module1/inline/Module1_inlineKt.class
|
||||
out/production/module1/inline/Module1_otherKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/module1_inline.kt
|
||||
module1/src/module1_other.kt
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module2/META-INF/module2.kotlin_module
|
||||
out/production/module2/usage/Module2_usageKt.class
|
||||
out/production/module2/usage/UsagePackage.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/module2_usage.kt
|
||||
End of files
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
module1->
|
||||
module2->module1
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package inline
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm inline function")
|
||||
body()
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package inline
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
body()
|
||||
println("i'm inline function")
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package inline
|
||||
|
||||
inline fun g(body: () -> Unit) {
|
||||
println("i'm inline function")
|
||||
body()
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package inline
|
||||
|
||||
inline fun g(body: () -> Unit) {
|
||||
body()
|
||||
println("i'm inline function")
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package inline
|
||||
|
||||
fun other() {
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package usage
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
useF()
|
||||
useG()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package usage
|
||||
|
||||
fun useF() {
|
||||
inline.f { println("to be inlined") }
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package usage
|
||||
|
||||
fun useG() {
|
||||
inline.g { println("to be inlined") }
|
||||
}
|
||||
Reference in New Issue
Block a user