wakingrufus
07/03/2023, 7:55 PMPaul Dingemans
07/03/2023, 7:59 PMwakingrufus
07/03/2023, 8:06 PMval engine = KtLintRuleEngine(
ruleProviders = StandardRuleSetProvider().getRuleProviders()
)
so I didn't have to change it, just recompile it with the new ktlint on the classpath so that it resolves the correct method signature. It seems like something that should just work, but I guess doesnt due to how the kotlin compiler handles optional method parameters. if I used reflection and passed the params in as a map it would have just worked 😕wakingrufus
07/03/2023, 9:28 PMwakingrufus
07/03/2023, 9:29 PMPaul Dingemans
07/04/2023, 2:17 PM@JvmOverloads
. Problematic part is just to remember to add the annotation when changing the signature when adding an additional parameter. Maybe, it is time to add something like https://github.com/Kotlin/binary-compatibility-validatorwakingrufus
07/04/2023, 2:34 PM