[FIR] Report UNRESOLVED_REFERENCE on the first unresolved qualifier
#KT-55471 Fixed
This commit is contained in:
committed by
Space Team
parent
40fadac060
commit
10f7989af6
Vendored
+2
-2
@@ -1,10 +1,10 @@
|
||||
|
||||
class DTO {
|
||||
val q: Int = 0
|
||||
operator fun get(prop: <!UNRESOLVED_REFERENCE!>KProperty1<*, Int><!>): Int = 0
|
||||
operator fun get(prop: <!UNRESOLVED_REFERENCE!>KProperty1<!><*, Int>): Int = 0
|
||||
}
|
||||
|
||||
fun foo(intDTO: DTO?, p: <!UNRESOLVED_REFERENCE!>KProperty1<*, Int><!>) {
|
||||
fun foo(intDTO: DTO?, p: <!UNRESOLVED_REFERENCE!>KProperty1<!><*, Int>) {
|
||||
if (intDTO != null) {
|
||||
intDTO[DTO::q]
|
||||
intDTO.q
|
||||
|
||||
Reference in New Issue
Block a user