[FIR] Report errors about invisible types from type resolution
This commit is contained in:
committed by
teamcityserver
parent
f2c319c4ae
commit
8707be51c9
+2
-2
@@ -15,5 +15,5 @@ class Bar : Foo() {
|
||||
protected fun foo(): Nested? = null
|
||||
}
|
||||
|
||||
private fun foo(): Nested? = null
|
||||
private fun bar(): p.Foo.Nested? = null
|
||||
private fun foo(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
|
||||
private fun bar(): <!INVISIBLE_REFERENCE!>p.Foo.Nested<!>? = null
|
||||
|
||||
+4
-4
@@ -11,9 +11,9 @@ package a
|
||||
import p.Foo
|
||||
import p.Foo.Nested
|
||||
|
||||
class Bar : <!EXPOSED_SUPER_CLASS, INVISIBLE_REFERENCE!>Foo<!>() {
|
||||
protected fun <!EXPOSED_FUNCTION_RETURN_TYPE!>foo<!>(): Nested? = null
|
||||
class Bar : <!EXPOSED_SUPER_CLASS, INVISIBLE_REFERENCE, INVISIBLE_REFERENCE!>Foo<!>() {
|
||||
protected fun <!EXPOSED_FUNCTION_RETURN_TYPE!>foo<!>(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
|
||||
}
|
||||
|
||||
private fun foo(): Nested? = null
|
||||
private fun bar(): p.Foo.Nested? = null
|
||||
private fun foo(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
|
||||
private fun bar(): <!INVISIBLE_REFERENCE!>p.Foo.Nested<!>? = null
|
||||
|
||||
Reference in New Issue
Block a user