mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
This covers the case when original expression doesn't contains qualifier Also for local or inner containing classes: - forbid nested objects - add 'inner' to nested class declaration #KT-16404 Fixed
12 lines
138 B
Plaintext
Vendored
12 lines
138 B
Plaintext
Vendored
// "Create object 'Nested'" "true"
|
|
class A {
|
|
// TARGET_PARENT:
|
|
inner class B {
|
|
val a = Nested
|
|
}
|
|
}
|
|
|
|
object Nested {
|
|
|
|
}
|