Test IC for adding private inline function
#KT-9681 fixed
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/InlineKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/inline.kt
|
||||
End of files
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/other/OtherKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/other.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/foo/InlineKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/inline.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package foo
|
||||
|
||||
fun test() {
|
||||
oldInlineFun()
|
||||
}
|
||||
|
||||
inline
|
||||
private fun oldInlineFun() {
|
||||
println("oldInlineFun")
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package foo
|
||||
|
||||
inline
|
||||
private fun newInlineFun() {
|
||||
println("newInlineFun")
|
||||
}
|
||||
|
||||
fun test() {
|
||||
newInlineFun()
|
||||
oldInlineFun()
|
||||
}
|
||||
|
||||
inline
|
||||
private fun oldInlineFun() {
|
||||
println("oldInlineFun")
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package other
|
||||
|
||||
fun other() {}
|
||||
Reference in New Issue
Block a user