[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:
committed by
Space Team
parent
b5a23e3ef7
commit
c6bbce986d
@@ -23,14 +23,14 @@ public expect annotation class CName(val externName: String = "", val shortName:
|
||||
/**
|
||||
* 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(
|
||||
|
||||
@@ -31,7 +31,7 @@ public expect annotation class ThreadLocal()
|
||||
*
|
||||
* PLEASE NOTE THAT THIS ANNOTATION MAY GO AWAY IN UPCOMING RELEASES.
|
||||
*
|
||||
* Since 1.7.20 usage of this annotation is deprecated. See https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#freezing-deprecation for details.
|
||||
* Since 1.7.20 usage of this annotation is deprecated. See https://kotlinlang.org/docs/native-migration-guide.html for details.
|
||||
*/
|
||||
@Target(AnnotationTarget.PROPERTY)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
|
||||
Reference in New Issue
Block a user