Files
kotlin-fork/compiler/testData/diagnostics/tests/enum/inheritanceFromEnum.fir.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

14 lines
250 B
Kotlin
Vendored

// FILE: MyJavaEnum.java
public enum MyJavaEnum {}
// FILE: test.kt
open enum class MyEnum() {
A()
}
enum class MyEnum2() {}
class MyClass(): <!INVISIBLE_REFERENCE!>MyEnum2<!>() {}
class MyClass2(): <!UNRESOLVED_REFERENCE!>MyJavaEnum<!>() {}