Kotlin: add test to show suspend function inconsistency between source and bytecode extraction

This commit is contained in:
Tamas Vajk
2022-09-19 13:13:41 +02:00
parent a6e44ed1cf
commit 85d883c647
7 changed files with 72 additions and 6 deletions

View File

@@ -1,5 +1,19 @@
import kotlin.coroutines.Continuation;
public class Java {
void javaFun() {
new Kotlin().kotlinFun();
}
public class Djava extends Base {
@Override
public String fn0(int x) {
return super.fn0(x);
}
@Override
public Object fn1(int x, Continuation<? super String> $completion) {
return super.fn1(x, $completion);
}
}
}