jvm-abi-gen: remove SourceDebugExtension if no inline functions present
#KT-65072 Fixed
This commit is contained in:
committed by
Space Team
parent
8fbe376f25
commit
06095e86ca
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
//this file could be in the same or in the different compilation module
|
||||
package test
|
||||
|
||||
inline fun inlineFun() = Unit
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
private fun main() {
|
||||
inlineFun()
|
||||
}
|
||||
plugins/jvm-abi-gen/testData/compare/inlineFunUsageMakesAbiUnstable/sameAbi/inlineFunDeclaratiion.kt
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
//this file could be in the same or in the different compilation module
|
||||
package test
|
||||
|
||||
inline fun inlineFun() = Unit
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
private fun main() {
|
||||
//comment should not break ABI
|
||||
inlineFun()
|
||||
}
|
||||
Reference in New Issue
Block a user