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.
14 lines
343 B
Kotlin
Vendored
14 lines
343 B
Kotlin
Vendored
inline class A(val x: Int)
|
|
class B(val a: A = A(0))
|
|
|
|
// @B.class:
|
|
// 1 private <init>\(I\)V
|
|
// 1 public synthetic <init>\(IILkotlin/jvm/internal/DefaultConstructorMarker;\)V
|
|
// 1 public synthetic <init>\(ILkotlin/jvm/internal/DefaultConstructorMarker;\)V
|
|
|
|
// JVM_TEMPLATES
|
|
// 1 private <init>\(\)V
|
|
|
|
// JVM_IR_TEMPLATES
|
|
// 1 public <init>\(\)V
|