Closed ktoso closed 3 weeks ago
By adding -parameters when we build java code using the java compiler plugin we retain parameter names and therefore we get:
-parameters
func sayHello(_ x: Int32, _ y: Int32) -> Int32
rather than
func sayHello(_ arg0: Int32, _ arg1: Int32) -> Int32
which is a slightly nicer developer experience.
When using with already built jars we can't influence that, but whenever using with java sources we actually build we should recommend keeping that flag probably.
By adding
-parameters
when we build java code using the java compiler plugin we retain parameter names and therefore we get:rather than
which is a slightly nicer developer experience.
When using with already built jars we can't influence that, but whenever using with java sources we actually build we should recommend keeping that flag probably.