[IR] update testdata

This commit is contained in:
Zalim Bashorov
2020-11-05 23:40:21 +03:00
committed by teamcityserver
parent 6a1ab1b325
commit fc5c674c60
94 changed files with 354 additions and 354 deletions
@@ -21,7 +21,7 @@ fun <T> test0(a: T) where T : KRunnable, T : Function0<Unit> {
fun test1(a: Function0<Unit>) {
when {
a is KRunnable -> { //BLOCK
a is KRunnable -> { // BLOCK
run1(r = a /*as KRunnable */)
}
}
@@ -34,7 +34,7 @@ fun test2(a: KRunnable) {
fun test3(a: Function0<Unit>) {
when {
a is KRunnable -> { //BLOCK
a is KRunnable -> { // BLOCK
run2(r1 = a /*as KRunnable */, r2 = a /*as KRunnable */)
}
}
@@ -42,7 +42,7 @@ fun test3(a: Function0<Unit>) {
fun test4(a: Function0<Unit>, b: Function0<Unit>) {
when {
a is KRunnable -> { //BLOCK
a is KRunnable -> { // BLOCK
run2(r1 = a /*as KRunnable */, r2 = b /*-> KRunnable */)
}
}
@@ -50,7 +50,7 @@ fun test4(a: Function0<Unit>, b: Function0<Unit>) {
fun test5(a: Any) {
when {
a is KRunnable -> { //BLOCK
a is KRunnable -> { // BLOCK
run1(r = a /*as KRunnable */)
}
}
@@ -58,7 +58,7 @@ fun test5(a: Any) {
fun test5x(a: Any) {
when {
a is KRunnable -> { //BLOCK
a is KRunnable -> { // BLOCK
a as Function0<Unit> /*~> Unit */
run1(r = a /*as KRunnable */)
}