K1: implement warning for upper bound violated in type alias constructors
Partially implements KT-47473
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ val test5 = NA<Int>()
|
||||
val test6 = NA<<!UPPER_BOUND_VIOLATED!>Any<!>>()
|
||||
val test7 = NL<Int>()
|
||||
val test8 = MMMM<<!UPPER_BOUND_VIOLATED!>Int<!>>()
|
||||
val test9dwd = NL<Any>()
|
||||
val test9dwd = NL<<!UPPER_BOUND_VIOLATED_WARNING!>Any<!>>()
|
||||
|
||||
fun test9(x: TC<Number, Collection<Number>>) {}
|
||||
fun test10(x: TC<Number, Collection<Int>>) {}
|
||||
|
||||
Reference in New Issue
Block a user