mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
13 lines
158 B
Kotlin
Vendored
13 lines
158 B
Kotlin
Vendored
// InnerClasses
|
|
|
|
class Bar(val a: Int) {
|
|
val b: Int = { 0 }()
|
|
|
|
fun getAPlusB() = a + b
|
|
|
|
class Baz {
|
|
fun doSomething() {
|
|
|
|
}
|
|
}
|
|
} |