mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
The JVM backend does not generate parameterless default constructors for private constructors and constructors of local, inner, or inline classes.
13 lines
281 B
Kotlin
Vendored
13 lines
281 B
Kotlin
Vendored
class A(val s: String) {
|
|
inner class B(val x: Int = 0)
|
|
}
|
|
|
|
// @A.class
|
|
// 1 public <init>\(Ljava/lang/String;\)V
|
|
|
|
// @A$B.class
|
|
// 0 <init>\(\)V
|
|
// 0 <init>\(LA;\)V
|
|
// 1 public <init>\(LA;I\)V
|
|
// 1 public synthetic <init>\(LA;IILkotlin/jvm/internal/DefaultConstructorMarker;\)V
|