[IR] update testdata
This commit is contained in:
committed by
teamcityserver
parent
6a1ab1b325
commit
fc5c674c60
+15
-15
@@ -21,7 +21,7 @@ fun produceFun(): Function0<Unit> {
|
||||
}
|
||||
|
||||
fun testSimple(fn: Function0<Unit>) {
|
||||
useSuspend(sfn = { //BLOCK
|
||||
useSuspend(sfn = { // BLOCK
|
||||
local suspend fun Function0<Unit>.suspendConversion0() {
|
||||
callee.invoke()
|
||||
}
|
||||
@@ -32,7 +32,7 @@ fun testSimple(fn: Function0<Unit>) {
|
||||
}
|
||||
|
||||
fun testSimpleNonVal() {
|
||||
useSuspend(sfn = { //BLOCK
|
||||
useSuspend(sfn = { // BLOCK
|
||||
local suspend fun Function0<Unit>.suspendConversion0() {
|
||||
callee.invoke()
|
||||
}
|
||||
@@ -43,7 +43,7 @@ fun testSimpleNonVal() {
|
||||
}
|
||||
|
||||
fun testExtAsExt(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
useSuspendExt(sfn = { //BLOCK
|
||||
useSuspendExt(sfn = { // BLOCK
|
||||
local suspend fun @ExtensionFunctionType Function1<Int, Unit>.suspendConversion0(p0: Int) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -54,7 +54,7 @@ fun testExtAsExt(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
}
|
||||
|
||||
fun testExtAsSimple(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
useSuspendArg(sfn = { //BLOCK
|
||||
useSuspendArg(sfn = { // BLOCK
|
||||
local suspend fun Function1<Int, Unit>.suspendConversion0(p0: Int) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -65,7 +65,7 @@ fun testExtAsSimple(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
}
|
||||
|
||||
fun testSimpleAsExt(fn: Function1<Int, Unit>) {
|
||||
useSuspendExt(sfn = { //BLOCK
|
||||
useSuspendExt(sfn = { // BLOCK
|
||||
local suspend fun @ExtensionFunctionType Function1<Int, Unit>.suspendConversion0(p0: Int) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -76,7 +76,7 @@ fun testSimpleAsExt(fn: Function1<Int, Unit>) {
|
||||
}
|
||||
|
||||
fun testSimpleAsSimpleT(fn: Function1<Int, Unit>) {
|
||||
useSuspendArgT<Int>(sfn = { //BLOCK
|
||||
useSuspendArgT<Int>(sfn = { // BLOCK
|
||||
local suspend fun Function1<Int, Unit>.suspendConversion0(p0: Int) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -87,7 +87,7 @@ fun testSimpleAsSimpleT(fn: Function1<Int, Unit>) {
|
||||
}
|
||||
|
||||
fun testSimpleAsExtT(fn: Function1<Int, Unit>) {
|
||||
useSuspendExtT<Int>(sfn = { //BLOCK
|
||||
useSuspendExtT<Int>(sfn = { // BLOCK
|
||||
local suspend fun @ExtensionFunctionType Function1<Int, Unit>.suspendConversion0(p0: Int) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -98,7 +98,7 @@ fun testSimpleAsExtT(fn: Function1<Int, Unit>) {
|
||||
}
|
||||
|
||||
fun testExtAsSimpleT(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
useSuspendArgT<Int>(sfn = { //BLOCK
|
||||
useSuspendArgT<Int>(sfn = { // BLOCK
|
||||
local suspend fun Function1<Int, Unit>.suspendConversion0(p0: Int) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -109,7 +109,7 @@ fun testExtAsSimpleT(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
}
|
||||
|
||||
fun testExtAsExtT(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
useSuspendExtT<Int>(sfn = { //BLOCK
|
||||
useSuspendExtT<Int>(sfn = { // BLOCK
|
||||
local suspend fun @ExtensionFunctionType Function1<Int, Unit>.suspendConversion0(p0: Int) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -120,7 +120,7 @@ fun testExtAsExtT(fn: @ExtensionFunctionType Function1<Int, Unit>) {
|
||||
}
|
||||
|
||||
fun <S : Any?> testSimpleSAsSimpleT(fn: Function1<S, Unit>) {
|
||||
useSuspendArgT<S>(sfn = { //BLOCK
|
||||
useSuspendArgT<S>(sfn = { // BLOCK
|
||||
local suspend fun Function1<S, Unit>.suspendConversion0(p0: S) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -131,7 +131,7 @@ fun <S : Any?> testSimpleSAsSimpleT(fn: Function1<S, Unit>) {
|
||||
}
|
||||
|
||||
fun <S : Any?> testSimpleSAsExtT(fn: Function1<S, Unit>) {
|
||||
useSuspendExtT<S>(sfn = { //BLOCK
|
||||
useSuspendExtT<S>(sfn = { // BLOCK
|
||||
local suspend fun @ExtensionFunctionType Function1<S, Unit>.suspendConversion0(p0: S) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -142,7 +142,7 @@ fun <S : Any?> testSimpleSAsExtT(fn: Function1<S, Unit>) {
|
||||
}
|
||||
|
||||
fun <S : Any?> testExtSAsSimpleT(fn: @ExtensionFunctionType Function1<S, Unit>) {
|
||||
useSuspendArgT<S>(sfn = { //BLOCK
|
||||
useSuspendArgT<S>(sfn = { // BLOCK
|
||||
local suspend fun Function1<S, Unit>.suspendConversion0(p0: S) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -153,7 +153,7 @@ fun <S : Any?> testExtSAsSimpleT(fn: @ExtensionFunctionType Function1<S, Unit>)
|
||||
}
|
||||
|
||||
fun <S : Any?> testExtSAsExtT(fn: @ExtensionFunctionType Function1<S, Unit>) {
|
||||
useSuspendExtT<S>(sfn = { //BLOCK
|
||||
useSuspendExtT<S>(sfn = { // BLOCK
|
||||
local suspend fun @ExtensionFunctionType Function1<S, Unit>.suspendConversion0(p0: S) {
|
||||
callee.invoke(p1 = p0)
|
||||
}
|
||||
@@ -165,7 +165,7 @@ fun <S : Any?> testExtSAsExtT(fn: @ExtensionFunctionType Function1<S, Unit>) {
|
||||
|
||||
fun testSmartCastWithSuspendConversion(a: Any) {
|
||||
a as Function0<Unit> /*~> Unit */
|
||||
useSuspend(sfn = { //BLOCK
|
||||
useSuspend(sfn = { // BLOCK
|
||||
local suspend fun Function0<Unit>.suspendConversion0() {
|
||||
callee.invoke()
|
||||
}
|
||||
@@ -178,7 +178,7 @@ fun testSmartCastWithSuspendConversion(a: Any) {
|
||||
fun testSmartCastOnVarWithSuspendConversion(a: Any) {
|
||||
var b: Any = a
|
||||
b as Function0<Unit> /*~> Unit */
|
||||
useSuspend(sfn = { //BLOCK
|
||||
useSuspend(sfn = { // BLOCK
|
||||
local suspend fun Function0<Unit>.suspendConversion0() {
|
||||
callee.invoke()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user