mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
13 lines
204 B
Plaintext
13 lines
204 B
Plaintext
// EA-38323 - Illegal field modifiers in class: classObject field in C must be static and final
|
|
|
|
trait C {
|
|
class object {
|
|
public val FOO: String = "OK"
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return C.FOO
|
|
}
|
|
|