Kapt+JVM_IR: support error types in suspend functions
JVM IR generates the continuation parameter with the name `$completion` instead of `continuation`.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// CORRECT_ERROR_TYPES
|
||||
// NO_VALIDATION
|
||||
// WITH_STDLIB
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
@kotlin.Metadata()
|
||||
public final class Foo {
|
||||
|
||||
public Foo() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.Object a(@org.jetbrains.annotations.NotNull()
|
||||
kotlin.coroutines.Continuation<ABC> $completion) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user