[FIR] Implement UPPER_BOUND_VIOLATED_IN_TYPEALIAS_EXPANSION diagnostics, fix handling of UPPER_BOUND_VIOLATED
This commit is contained in:
committed by
teamcityserver
parent
5741374883
commit
66e2b44272
+1
-1
@@ -45,7 +45,7 @@ fun <K, L : K> rest() {
|
||||
class NumColl<T : Collection<Number>>
|
||||
typealias NL<K> = NumColl<List<K>>
|
||||
val test7 = NL<Int>()<!UNRESOLVED_REFERENCE!>NumberPhile<!><!SYNTAX!><!>
|
||||
val test8 = NL<String>()
|
||||
val test8 = NL<<!UPPER_BOUND_VIOLATED!>String<!>>()
|
||||
|
||||
class NumberPhile<T: Number>(x: T)
|
||||
val np1 = NumberPhile(10)
|
||||
|
||||
Reference in New Issue
Block a user