e6b5cb5216
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
52 lines
861 B
Kotlin
Vendored
52 lines
861 B
Kotlin
Vendored
package a
|
|
|
|
class A {
|
|
class Nested
|
|
inner class Inner
|
|
|
|
|
|
companion object {
|
|
|
|
class Nested2
|
|
|
|
val c: Int = 1
|
|
|
|
object Obj2 {
|
|
val c: Int = 1
|
|
}
|
|
}
|
|
|
|
object Obj
|
|
}
|
|
|
|
object O {
|
|
class A
|
|
|
|
object O
|
|
}
|
|
|
|
fun f() {
|
|
A.c
|
|
A.hashCode()
|
|
A().<!NESTED_CLASS_ACCESSED_VIA_INSTANCE_REFERENCE, NO_COMPANION_OBJECT!>Nested<!>
|
|
A.Nested()
|
|
A().Inner()
|
|
A.Companion.<!UNRESOLVED_REFERENCE!>Nested<!>
|
|
A.Companion.<!UNRESOLVED_REFERENCE!>Inner<!>
|
|
A.<!NO_COMPANION_OBJECT!>Inner<!>
|
|
A.Companion.c
|
|
A.Companion.Obj2
|
|
A.Companion.Obj2.c
|
|
|
|
A.Companion.Nested2()
|
|
A.Companion.c
|
|
A.Obj
|
|
A.Companion.Obj2
|
|
A.<!UNRESOLVED_REFERENCE!>Obj2<!>
|
|
A.<!UNRESOLVED_REFERENCE!>Obj2<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>c<!>
|
|
A.<!UNRESOLVED_REFERENCE!>Nested2<!>
|
|
|
|
O.O
|
|
O.A()
|
|
}
|