Minor. Fix test.
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ suspend fun oldMain() {
|
||||
}
|
||||
|
||||
fun oldMain2() {
|
||||
<error descr="[VERSION_REQUIREMENT_DEPRECATION_ERROR] 'newBuilder((Continuation<Unit>) -> Any?): Unit' is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2">newBuilder</error> {
|
||||
<error descr="[ILLEGAL_SUSPEND_FUNCTION_CALL] Suspend function 'oldMain' should be called only from a coroutine or another suspend function">oldMain</error>()
|
||||
<error descr="[VERSION_REQUIREMENT_DEPRECATION_ERROR] 'newBuilder(suspend () -> Unit): Unit' is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2">newBuilder</error> {
|
||||
oldMain()
|
||||
}
|
||||
|
||||
oldBuilder {
|
||||
|
||||
Reference in New Issue
Block a user