[IR] update testdata
This commit is contained in:
committed by
teamcityserver
parent
6a1ab1b325
commit
fc5c674c60
@@ -22,7 +22,7 @@ class J {
|
||||
}
|
||||
|
||||
val fsi: Fn<String, Int>
|
||||
field = { //BLOCK
|
||||
field = { // BLOCK
|
||||
local class <no name provided> : Fn<String, Int> {
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
@@ -45,7 +45,7 @@ val fsi: Fn<String, Int>
|
||||
get
|
||||
|
||||
val fis: Fn<Int, String>
|
||||
field = { //BLOCK
|
||||
field = { // BLOCK
|
||||
local class <no name provided> : Fn<Int, String> {
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ fun interface MyRunnable {
|
||||
|
||||
fun test(a: Any, r: MyRunnable) {
|
||||
when {
|
||||
a is MyRunnable -> { //BLOCK
|
||||
a is MyRunnable -> { // BLOCK
|
||||
foo(rs = [ local fun <anonymous>() {
|
||||
return Unit
|
||||
}
|
||||
|
||||
+5
-5
@@ -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 */)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user