mirror of
https://github.com/apple/pkl.git
synced 2026-03-24 10:01:10 +01:00
* codegen-kotlin: Don't generate equals/hashCode/toString/copy/:Serializable for abstract classes * Polish KotlinCodeGeneratorTest - use `assertContains()` instead of `assertThat().contains()` - remove redundant `trimIndent()` and `trimMargin()` calls - rename `javaCode` to `kotlinCode` * Overhaul KotlinCodeGeneratorTest - introduce classes KotlinSourceCode and KotlinSourceCodeAssert - change assertions to use KotlinSourceCodeAssert via `assertThat(kotlinCode)` - use explicit trimIndent() and trimMargin() for multiline string literals - IntelliJ editor desperately wants to insert trimIndent() - can be used by kotlinc and ktfmt - format code in the exact way it falls out of the IntelliJ editor (successfully destroyed by ktfmt)