mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
12 lines
287 B
Plaintext
Vendored
12 lines
287 B
Plaintext
Vendored
// "Create property 'foo' as constructor parameter" "true"
|
|
// ERROR: No value passed for parameter 'foo'
|
|
// ERROR: No value passed for parameter 'foo'
|
|
// ERROR: No value passed for parameter 'foo'
|
|
|
|
enum class E(val foo: Int) {
|
|
A(),
|
|
B() {
|
|
val t: Int = foo
|
|
},
|
|
C()
|
|
} |