mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
A set of tests provided. Some external tests fixed accordingly. Companion object creation changed accordingly. Derived classes now can use base class with the private constructor. Refactoring of AccessorForFunctionDescriptor.
9 lines
157 B
Kotlin
Vendored
9 lines
157 B
Kotlin
Vendored
class A {
|
|
companion object {
|
|
private var r: Int = 1;
|
|
}
|
|
}
|
|
// A and companion object constructor call
|
|
// 3 ALOAD 0
|
|
// 1 synthetic access\$getR
|