mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
13 lines
212 B
Kotlin
Vendored
13 lines
212 B
Kotlin
Vendored
// EA-38323 - Illegal field modifiers in class: classObject field in C must be static and final
|
|
|
|
interface C {
|
|
companion object {
|
|
public val FOO: String = "OK"
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return C.FOO
|
|
}
|
|
|