[FIR] Report errors about type arguments on resolved qualifiers
^KT-56186 Fixed ^KT-56187 Fixed ^KT-59553
This commit is contained in:
committed by
Space Team
parent
1b24b95cde
commit
6c7eb0167c
+13
@@ -0,0 +1,13 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// ISSUE: KT-56187
|
||||
|
||||
class Foo<T : Number> {
|
||||
val value: String = "OK"
|
||||
val genericValue: T = null!!
|
||||
}
|
||||
|
||||
fun main() {
|
||||
val a = Foo<<!UPPER_BOUND_VIOLATED!>String<!>>::value
|
||||
val b = Foo<<!UPPER_BOUND_VIOLATED!>String<!>>::genericValue
|
||||
}
|
||||
Reference in New Issue
Block a user