[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
interface A {
|
||||
fun foo(a1: Int, a2: Double)
|
||||
}
|
||||
|
||||
interface B {
|
||||
fun foo(b1: Int, b2: Double)
|
||||
}
|
||||
|
||||
interface C : A, B { // Warning here, this is correct, C.foo has no named parameters
|
||||
}
|
||||
|
||||
interface D : C {
|
||||
override fun foo(d1: Int, d2: Double)
|
||||
}
|
||||
|
||||
fun test1(d: D) {
|
||||
d.foo(d1 = 1, d2 = 1.0)
|
||||
}
|
||||
|
||||
fun test2(c: C) {
|
||||
c.<!INAPPLICABLE_CANDIDATE!>foo<!>(b1 = 1, b2 = 1.0)
|
||||
}
|
||||
Reference in New Issue
Block a user