[K/N] Fix KT-54498

Forward users to kotlinlang.org instead of new_mm.md because the latter
is obsolete now.
This commit is contained in:
Sergey Bogolepov
2022-10-17 16:54:23 +03:00
committed by Space Team
parent b5a23e3ef7
commit c6bbce986d
6 changed files with 8 additions and 8 deletions
@@ -9,14 +9,14 @@ package kotlin.native
/**
* Freezing API is deprecated since 1.7.20.
*
* See [NEW_MM.md#freezing-deprecation](https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#freezing-deprecation) for details
* See [documentation](https://kotlinlang.org/docs/native-migration-guide.html) for details
*/
// Note: when changing level of deprecation here, also change
// * `freezing` mode handling in KonanConfig.kt
// * frontend diagnostics in ErrorsNative.kt
@SinceKotlin("1.7")
@RequiresOptIn(
message = "Freezing API is deprecated since 1.7.20. See https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#freezing-deprecation for details",
message = "Freezing API is deprecated since 1.7.20. See https://kotlinlang.org/docs/native-migration-guide.html for details",
level = RequiresOptIn.Level.WARNING,
)
@Target(