61302a2e08
Also minimize scope of DiagnosticUsingJavac tests to `compiler/testData/diagnostics/tests/javac`. This is fine since javac compilation mode is still not finished and no one not going to support it
20 lines
540 B
Kotlin
Vendored
20 lines
540 B
Kotlin
Vendored
// FILE: p/Foo.java
|
|
package p;
|
|
|
|
class Foo {
|
|
public static class Nested {}
|
|
}
|
|
|
|
// FILE: foo.kt
|
|
package a
|
|
|
|
import p.<!INVISIBLE_REFERENCE!>Foo<!>
|
|
import p.<!INVISIBLE_REFERENCE!>Foo<!>.Nested
|
|
|
|
class Bar : <!EXPOSED_SUPER_CLASS!><!INVISIBLE_MEMBER, INVISIBLE_REFERENCE!>Foo<!>()<!> {
|
|
protected fun <!EXPOSED_FUNCTION_RETURN_TYPE!>foo<!>(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
|
|
}
|
|
|
|
private fun foo(): <!INVISIBLE_REFERENCE!>Nested<!>? = null
|
|
private fun bar(): p.<!INVISIBLE_REFERENCE!>Foo<!>.<!INVISIBLE_REFERENCE!>Nested<!>? = null
|