From 9f84e7651bf7b11a946a56c461672f141ea09a75 Mon Sep 17 00:00:00 2001 From: "Denis.Zharkov" Date: Tue, 12 Jul 2022 16:58:25 +0200 Subject: [PATCH] Add issue link to deprecation warning message ^KT-29168 Fixed --- .../kotlin/diagnostics/rendering/DefaultErrorMessages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/diagnostics/rendering/DefaultErrorMessages.java b/compiler/frontend/src/org/jetbrains/kotlin/diagnostics/rendering/DefaultErrorMessages.java index bf86421bd71..f5e643931bd 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/diagnostics/rendering/DefaultErrorMessages.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/diagnostics/rendering/DefaultErrorMessages.java @@ -611,7 +611,7 @@ public class DefaultErrorMessages { RENDER_TYPE, RENDER_TYPE, NAME); MAP.put(UPPER_BOUND_VIOLATED_IN_TYPEALIAS_EXPANSION_WARNING, "Type argument resulting from type alias expansion is not within required bounds for ''{2}'': " + - "should be subtype of ''{0}'', substituted type is ''{1}''. This warning will become an error since 1.8", + "should be subtype of ''{0}'', substituted type is ''{1}''. This warning will become an error since 1.8. See https://youtrack.jetbrains.com/issue/KT-29168", RENDER_TYPE, RENDER_TYPE, NAME); MAP.put(CONFLICTING_PROJECTION_IN_TYPEALIAS_EXPANSION, "Conflicting projection in type alias expansion in intermediate type ''{0}''", RENDER_TYPE); MAP.put(TYPEALIAS_SHOULD_EXPAND_TO_CLASS, "Type alias expands to {0}, which is not a class, an interface, or an object", RENDER_TYPE);