Change Signature: Fix detection of conflicts in generic classes
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun foo<T: Any>(<caret>x1: T? = null, x2: Double, x3: ((T) -> T)?) {
|
||||
foo(2, 3.5, null);
|
||||
val y1 = x1;
|
||||
val y2 = x2;
|
||||
val y3 = x3;
|
||||
foo(x3 = null, x1 = 2, x2 = 3.5);
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
foo(x1 = 2, x2 = 3.5, x3 = null);
|
||||
foo(x3 = null, x1 = 2, x2 = 3.5);
|
||||
}
|
||||
Reference in New Issue
Block a user