Change Signature: Match calls of different overloads generated due to @JvmOverloads annotation
#KT-9020 Fixed
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
class Usages {
|
||||
void foo() {
|
||||
Foo.foo(2);
|
||||
}
|
||||
|
||||
void fooX() {
|
||||
Foo.foo(1, 2);
|
||||
}
|
||||
|
||||
void fooXY() {
|
||||
Foo.foo(1, 2, 1.0);
|
||||
}
|
||||
|
||||
void fooXYZ() {
|
||||
Foo.foo(1, 2, 1.0, "1");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user