[Commonizer] Limited annotation commonization. Tests

^KMM-238
^KMM-53
This commit is contained in:
Dmitriy Dolovov
2020-05-08 16:34:17 +07:00
parent 600daaa320
commit 5bb5d7f892
14 changed files with 642 additions and 93 deletions
@@ -16,8 +16,3 @@ expect fun externalFunction2()
expect inline fun inlineFunction1() {}
expect fun inlineFunction2() {}
expect class Holder() {
expect fun deprecatedFunction1()
expect fun nonDeprecatedFunction1()
}
@@ -17,13 +17,3 @@ 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() {}
}
@@ -17,13 +17,3 @@ 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() {}
}