11 lines
254 B
Kotlin
Vendored
11 lines
254 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// KT-3647 Unexpected compilation error: "Expression is inaccessible from a nested class"
|
|
|
|
class Test(val value: Int) {
|
|
companion object {
|
|
fun create(init: () -> Int): Test {
|
|
return Test(init())
|
|
}
|
|
}
|
|
}
|