[FIR] Report INVISIBLE_REFERENCE on the first unresolved qualifier
#KT-61719 Fixed
This commit is contained in:
committed by
Space Team
parent
2127b2ce68
commit
2566dabfce
-19
@@ -1,19 +0,0 @@
|
||||
// FILE: p/Foo.java
|
||||
package p;
|
||||
|
||||
public class Foo {
|
||||
protected static class Nested {}
|
||||
}
|
||||
|
||||
// FILE: foo.kt
|
||||
package a
|
||||
|
||||
import p.Foo
|
||||
import p.Foo.Nested
|
||||
|
||||
class Bar : Foo() {
|
||||
protected fun foo(): Nested? = null
|
||||
}
|
||||
|
||||
private fun foo(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
|
||||
private fun bar(): <!INVISIBLE_REFERENCE!>p.Foo.Nested<!>? = null
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: p/Foo.java
|
||||
package p;
|
||||
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ class Bar : <!EXPOSED_SUPER_CLASS, INVISIBLE_REFERENCE, INVISIBLE_REFERENCE!>Foo
|
||||
}
|
||||
|
||||
private fun foo(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
|
||||
private fun bar(): <!INVISIBLE_REFERENCE!>p.Foo.Nested<!>? = null
|
||||
private fun bar(): p.<!INVISIBLE_REFERENCE!>Foo<!>.Nested? = null
|
||||
|
||||
Reference in New Issue
Block a user