mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
The JVM backend does not generate parameterless default constructors for private constructors and constructors of local, inner, or inline classes.
6 lines
163 B
Kotlin
Vendored
6 lines
163 B
Kotlin
Vendored
class A private constructor(val x: Int = 0)
|
|
|
|
// 0 <init>\(\)V
|
|
// 1 private <init>\(I\)V
|
|
// 1 synthetic <init>\(IILkotlin/jvm/internal/DefaultConstructorMarker;\)V
|