mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Kotlin: add test to show suspend function inconsistency between source and bytecode extraction
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user