mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
#KT-2095 Fixed fix backend-side issues with kotlin.jvm.overloads: support the annotation on constructors, generate nullablity annotations on parameters, generate generic signatures, add various tests
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class Test {
|
||||
public static String invokeMethodWithOverloads() {
|
||||
C c = new C();
|
||||
return c.foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user