dimsuz
07/25/2022, 1:00 PM@optics
would automatically generate companion object
if it's missing.
I'm almost sure that this wasn't done because of some KSP/kotlin plugin API limitation, but maybe there's an issue I can vote on for Kotlin team to make this possible some day?simon.vergauwen
07/25/2022, 1:30 PMcompanion object
😞
"Soon" when Kotlin Compiler API becomes stable we can move away from KSP, and write a compiler plugin that removes this requirement of manually adding companion object
.dimsuz
07/25/2022, 2:10 PM