namespace unresolved
fun testGenericArgumentsCount() {
val p1: Tuple2 = (2, 2)
val p2: Tuple2 = (2, 2)
}
fun testUnresolved() {
if (a is String) {
val s = a
}
foo(a)
val s = "s"
foo(s)
foo1(i)
s.foo()
when(a) {
is Int => a
is String => a
}
//TODO
for (j in collection) {
var i: Int = j
i += 1
foo1(j)
}
}
fun foo1(i: Int) {}