Minor. Merge multiplatformTypeRefinement testdata with multiplatform testdata

This commit is contained in:
Dmitry Savvinov
2019-07-30 12:25:49 +03:00
parent 9f90486893
commit 79313037d1
80 changed files with 93 additions and 110 deletions
@@ -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
}