Kapt: Support correctErrorTypes in suspend functions (KT-27711)

This commit is contained in:
Yan Zhulanow
2018-11-08 16:23:14 +09:00
parent 4c5e982f3e
commit 6a8a8b794d
4 changed files with 49 additions and 11 deletions
@@ -1,4 +1,5 @@
// CORRECT_ERROR_TYPES
// NO_VALIDATION
// WITH_RUNTIME
@file:Suppress("UNRESOLVED_REFERENCE")
@@ -5,13 +5,13 @@ public final class Foo {
@org.jetbrains.annotations.Nullable()
public final java.lang.Object a(@org.jetbrains.annotations.NotNull()
kotlin.coroutines.Continuation<? super error.NonExistentClass> p0) {
kotlin.coroutines.Continuation<ABC> p0) {
return null;
}
@org.jetbrains.annotations.Nullable()
public final java.lang.Object b(@org.jetbrains.annotations.NotNull()
kotlin.coroutines.Continuation<? super kotlin.Result<? extends error.NonExistentClass>> p0) {
kotlin.coroutines.Continuation<Result<ABC>> p0) {
return null;
}