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,20 @@
@file:Suppress("UNUSED_VARIABLE")
package sample
fun testDesctructing() {
val (x, y, t) = getCommonA()
val xx: Int = x
val yy: Double = y
val tt: String = t
}
fun testIterator(): Int {
var counter: Int = 0
for (x in getCommonA()) {
counter += x
}
return counter
}
fun testDelegate(): String = getCommonA().z