mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
8 lines
135 B
Plaintext
Vendored
8 lines
135 B
Plaintext
Vendored
// "Create property 'foo' as constructor parameter" "true"
|
|
|
|
class A(var foo: Int) {
|
|
fun test(n: Int) {
|
|
foo = n + 1
|
|
}
|
|
}
|