Set up tests for fun interfaces for JVM backend for now

This commit is contained in:
Mikhail Zarechenskiy
2020-01-17 14:01:20 +03:00
parent 39e0f101b1
commit 58c235e722
16 changed files with 36 additions and 6 deletions
@@ -9,4 +9,4 @@ fun foo(f: Foo) {}
fun test() {
foo {}
}
}
@@ -12,4 +12,4 @@ fun foo(f: KRunnable) {}
fun test() {
foo(KRunnable {})
foo(KRunnableAlias {})
}
}
@@ -22,4 +22,4 @@ fun test(
k.f_t(f_string) { it checkType { _<String>() } }
k.f_r(f_int) { it checkType { _<Int>() } }
k.f_pr(f_pr) { it checkType { _<PR<String, Int>>() } }
}
}
@@ -30,4 +30,4 @@ fun test(j: J, r: KRunnable) {
j.foo3({}, r, {})
j.foo3({}, {}, r)
j.foo3({}, {}, {})
}
}
@@ -11,4 +11,4 @@ suspend fun bar() {}
fun test() {
run(::bar)
}
}