I'm trying to print a call to superclass' constructor using KotlinPoet. My current (not compiling) output is:
open class NameOfASubclass : NameOfSuperclass {
}
In order to make my code compile I need to (somehow) either print
open class NameOfASubclass : NameOfSuperclass() {
}
or
open class NameOfASubclass : NameOfSuperclass {
constructor()
}
I cannot achieve it using KotlinPoet. Any ideas?
indeed in Kotlin Poet the problem is solved in v.0.4.0