[Commonizer] Don't filter out @Deprecated non-top-level functions
^KMM-238
This commit is contained in:
Vendored
+5
@@ -16,3 +16,8 @@ expect fun externalFunction2()
|
||||
|
||||
expect inline fun inlineFunction1() {}
|
||||
expect fun inlineFunction2() {}
|
||||
|
||||
expect class Holder() {
|
||||
expect fun deprecatedFunction1()
|
||||
expect fun nonDeprecatedFunction1()
|
||||
}
|
||||
|
||||
+10
@@ -17,3 +17,13 @@ actual external fun externalFunction2()
|
||||
|
||||
actual inline fun inlineFunction1() {}
|
||||
actual inline fun inlineFunction2() {}
|
||||
|
||||
actual class Holder actual constructor() {
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunction1() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction2() {}
|
||||
|
||||
actual fun nonDeprecatedFunction1() {}
|
||||
fun nonDeprecatedFunction2() {}
|
||||
}
|
||||
|
||||
+10
@@ -17,3 +17,13 @@ actual fun externalFunction2() {}
|
||||
|
||||
actual inline fun inlineFunction1() {}
|
||||
actual fun inlineFunction2() {}
|
||||
|
||||
actual class Holder actual constructor() {
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunction1() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction3() {}
|
||||
|
||||
actual fun nonDeprecatedFunction1() {}
|
||||
fun nonDeprecatedFunction3() {}
|
||||
}
|
||||
|
||||
+12
-2
@@ -18,7 +18,17 @@ external fun externalFunction2()
|
||||
inline fun inlineFunction1() {}
|
||||
inline fun inlineFunction2() {}
|
||||
|
||||
@Deprecated
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction1() {}
|
||||
@Deprecated
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction2() {}
|
||||
|
||||
class Holder {
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction1() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction2() {}
|
||||
|
||||
fun nonDeprecatedFunction1() {}
|
||||
fun nonDeprecatedFunction2() {}
|
||||
}
|
||||
|
||||
+12
-2
@@ -18,7 +18,17 @@ fun externalFunction2() {}
|
||||
inline fun inlineFunction1() {}
|
||||
fun inlineFunction2() {}
|
||||
|
||||
@Deprecated
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction1() {}
|
||||
@Deprecated
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction3() {}
|
||||
|
||||
class Holder {
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction1() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction3() {}
|
||||
|
||||
fun nonDeprecatedFunction1() {}
|
||||
fun nonDeprecatedFunction3() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user