6 lines
119 B
Kotlin
6 lines
119 B
Kotlin
private var x = object {}
|
|
|
|
fun test() {
|
|
// No error, because the type of x is normalized to Any
|
|
x = object {}
|
|
} |