Add issue link to deprecation warning message
^KT-29168 Fixed
This commit is contained in:
+1
-1
@@ -611,7 +611,7 @@ public class DefaultErrorMessages {
|
|||||||
RENDER_TYPE, RENDER_TYPE, NAME);
|
RENDER_TYPE, RENDER_TYPE, NAME);
|
||||||
MAP.put(UPPER_BOUND_VIOLATED_IN_TYPEALIAS_EXPANSION_WARNING,
|
MAP.put(UPPER_BOUND_VIOLATED_IN_TYPEALIAS_EXPANSION_WARNING,
|
||||||
"Type argument resulting from type alias expansion is not within required bounds for ''{2}'': " +
|
"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);
|
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(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);
|
MAP.put(TYPEALIAS_SHOULD_EXPAND_TO_CLASS, "Type alias expands to {0}, which is not a class, an interface, or an object", RENDER_TYPE);
|
||||||
|
|||||||
Reference in New Issue
Block a user