[IR] update testdata
This commit is contained in:
committed by
teamcityserver
parent
6a1ab1b325
commit
fc5c674c60
+6
-6
@@ -1,6 +1,6 @@
|
||||
fun test1(a: Function0<Unit>) {
|
||||
when {
|
||||
a is Runnable -> { //BLOCK
|
||||
a is Runnable -> { // BLOCK
|
||||
runStatic(r = a /*as Runnable */)
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ fun test1(a: Function0<Unit>) {
|
||||
|
||||
fun test2(a: Function0<Unit>) {
|
||||
when {
|
||||
a is Runnable -> { //BLOCK
|
||||
a is Runnable -> { // BLOCK
|
||||
TODO("IrConstructorCall").run1(r = a /*as Runnable */)
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@ fun test2(a: Function0<Unit>) {
|
||||
|
||||
fun test3(a: Function0<Unit>) {
|
||||
when {
|
||||
a is Runnable -> { //BLOCK
|
||||
a is Runnable -> { // BLOCK
|
||||
TODO("IrConstructorCall").run2(r1 = a /*as Runnable */, r2 = a /*as Runnable */)
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,7 @@ fun test3(a: Function0<Unit>) {
|
||||
|
||||
fun test4(a: Function0<Unit>, b: Function0<Unit>) {
|
||||
when {
|
||||
a is Runnable -> { //BLOCK
|
||||
a is Runnable -> { // BLOCK
|
||||
TODO("IrConstructorCall").run2(r1 = a /*-> @FlexibleNullability Runnable? */, r2 = b /*-> @FlexibleNullability Runnable? */)
|
||||
}
|
||||
}
|
||||
@@ -32,7 +32,7 @@ fun test4(a: Function0<Unit>, b: Function0<Unit>) {
|
||||
|
||||
fun test5(a: Any) {
|
||||
when {
|
||||
a is Runnable -> { //BLOCK
|
||||
a is Runnable -> { // BLOCK
|
||||
TODO("IrConstructorCall").run1(r = a /*as Runnable */)
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ fun test5(a: Any) {
|
||||
|
||||
fun test5x(a: Any) {
|
||||
when {
|
||||
a is Runnable -> { //BLOCK
|
||||
a is Runnable -> { // BLOCK
|
||||
a as Function0<Unit> /*~> Unit */
|
||||
TODO("IrConstructorCall").run1(r = a /*as Runnable */)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user