Minor. Merge multiplatformTypeRefinement testdata with multiplatform testdata
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package sample
|
||||
|
||||
interface B : A
|
||||
|
||||
fun testA(x: A) {
|
||||
x.foo()
|
||||
x.bar()
|
||||
x.<!UNRESOLVED_REFERENCE("baz")!>baz<!>()
|
||||
|
||||
take_A_common_1(x)
|
||||
take_A_common_2_1(x)
|
||||
take_A_common_2_2(x)
|
||||
}
|
||||
|
||||
fun testB(x: B) {
|
||||
x.foo()
|
||||
x.bar()
|
||||
x.<!UNRESOLVED_REFERENCE("baz")!>baz<!>()
|
||||
|
||||
take_A_common_1(x)
|
||||
take_A_common_2_1(x)
|
||||
take_A_common_2_2(x) // here we should have some error
|
||||
}
|
||||
Reference in New Issue
Block a user