[FIR] Fix suspend functional type deserialization

This commit is contained in:
simon.ogorodnik
2020-03-19 21:02:46 +03:00
parent 4fac6d8fb5
commit 5a3eefcba1
10 changed files with 129 additions and 33 deletions
@@ -1,4 +1,4 @@
public final fun builder(c: @R|kotlin/ExtensionFunctionType|() R|ERROR CLASS: createSuspendFunctionType not supported|): R|kotlin/Unit|
public final fun builder(c: R|suspend test/Controller.() -> kotlin/Unit|): R|kotlin/Unit|
public final class Controller : R|kotlin/Any| {
public final suspend fun suspendFun(): R|kotlin/Unit|
@@ -6,3 +6,4 @@ public final class Controller : R|kotlin/Any| {
public constructor(): R|test/Controller|
}
@@ -1,8 +1,8 @@
public final fun test1(): R|ERROR CLASS: createSuspendFunctionType not supported|
public final fun test1(): R|suspend () -> kotlin/Unit|
public final fun test2(): @R|kotlin/ExtensionFunctionType|() R|ERROR CLASS: createSuspendFunctionType not supported|
public final fun test2(): R|suspend kotlin/Int.() -> kotlin/Int|
public final fun test3(): R|kotlin/collections/List<ERROR CLASS: createSuspendFunctionType not supported>|
public final fun test3(): R|kotlin/collections/List<kotlin/coroutines/SuspendFunction0<kotlin/Unit>>|
public final fun test4(): R|ERROR CLASS: createSuspendFunctionType not supported|
public final fun test4(): R|suspend () -> kotlin/coroutines/SuspendFunction0<kotlin/Unit>|