mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-21115 Fixed GitOrigin-RevId: 89614afe5b87b7e01810e45a71dc11bd4ccedd5c
24 lines
332 B
Kotlin
24 lines
332 B
Kotlin
// PROBLEM: none
|
|
|
|
class A
|
|
|
|
class AFabric {
|
|
lateinit var instance: A
|
|
fun init(config: Unit) {
|
|
instance = A()
|
|
}
|
|
}
|
|
|
|
val fabric = AFabric()
|
|
|
|
class V {
|
|
val a: A<caret>
|
|
|
|
constructor() {
|
|
val config = getConfig()
|
|
fabric.init(config)
|
|
a = fabric.instance
|
|
}
|
|
|
|
fun getConfig() = Unit
|
|
} |