KT-15748 Type alias constructor return type should have a corresponding abbreviation

This commit is contained in:
Dmitry Petrov
2017-01-27 11:30:11 +03:00
parent dbaf31effe
commit de14d4abc8
33 changed files with 166 additions and 94 deletions
@@ -1,3 +1,3 @@
<!-- upperBoundViolatedInTypeAliasConstructorCall1 -->
Type parameter bound for Tn in type inferred from type alias expansion for fun <T> <init>(x: T): Num<T>
Type parameter bound for Tn in type inferred from type alias expansion for fun <T> <init>(x: T): N<T> /* = Num<T> */
is not satisfied: inferred type String is not a subtype of Number