CLOVIS
02/22/2026, 7:40 PM-Xcontext-parameters , could we get another option "allow this experimental feature but only for non-public members of the module"?
This way we would still be able to use the feature (e.g. context parameters) inside a compilation unit, where binary compatibility doesn't matter.mbonnin
02/22/2026, 8:55 PMmbonnin
02/22/2026, 8:56 PMCLOVIS
02/22/2026, 9:00 PMI’d put this in BCV or some other post-processing step.Whatever, as long as it's easily configured in KGP. Since BCV is being merged there, why not.
CLOVIS
02/22/2026, 9:02 PMSomething I’d love to see as well is a tool that fails my build if I’m using a Kotlin-only feature (default parameters, extension functions, …).None of these features break Java usage though. Even if you have a feature that does break Java usage (e.g.
suspend), you can still provide an overload that returns a Future or whatever, the existence of a suspend function does not make the entire lib unusable from Java.mbonnin
02/22/2026, 9:18 PMmbonnin
02/22/2026, 9:19 PM