Add issue link to deprecation warning message

^KT-29168 Fixed
This commit is contained in:
Denis.Zharkov
2022-07-12 16:58:25 +02:00
committed by teamcity
parent 5cae57cf28
commit 9f84e7651b
@@ -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);