mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
Improve interop with other JVM languages by annotating data classes with @JvmOverloads #316
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DamianReeves on GitHub (Jul 9, 2025).
Interop with other JVM languages would be improved if the
@JvmOverloadsannotation was added to the library in places where default parameters are used, such as the following:48ad4386c8/pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGeneratorOptions.kt (L22)48ad4386c8/pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/CliBaseOptions.kt (L29)48ad4386c8/pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/CliTestOptions.kt (L20)