Closed
Description
openedon Sep 18, 2020
For a class like this:
open class ExplicitConstructor {
constructor(x:Int)
}
calling KSClassDeclaration.primaryConstructor
returns a synthesized constructor with 0 arguments even though it should not exist as this class has only 1 constructor that receives a parameter.
Instead, it think it should be null
.
Also, having a KSClassDeclaration.getAllConstructors()
would be super handy.
Metadata
Assignees
Labels
No labels
Activity