Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/RedeclarationInDefaultObject.kt
T
Ivan Kochurkin fd92b851a2 [FIR] Implement PACKAGE_OR_CLASSIFIER_REDECLARATION
Fix REDECLARATION positioning
2021-08-10 15:09:25 +00:00

7 lines
133 B
Kotlin
Vendored

// FIR_IDENTICAL
class A {
companion object B {
class <!REDECLARATION!>G<!>
val <!REDECLARATION!>G<!> = 1
}
}