Do not write version requirements for suspend functions

Previous attempt was at 6807ed6642, but it was reverted in 7771e5914d
(see that commit for the explanation). Now it should be fine to remove
these version requirements.

No issue reported because it's mostly not a user-visible change. The
main effect is that it reduces differences in metadata between K1 and
K2, namely it fixes the ValueClass.kt kotlinp test.
This commit is contained in:
Alexander Udalov
2023-07-27 15:54:54 +02:00
committed by Space Team
parent 06e370b012
commit 9c03dcd230
8 changed files with 2 additions and 95 deletions
@@ -12,8 +12,6 @@ class Outer {
@RequireKotlin("1.3")
val x = ""
suspend fun s() {}
}
}