Implement correct is check for SuspendFunction
Add test for suspend functions with language version 1.2. Minor edit in SuspendFunction docs.
This commit is contained in:
committed by
Ilya Gorbunov
parent
a205019156
commit
fe451dce31
+1
-1
@@ -126,7 +126,7 @@ internal object CompletedContinuation : Continuation<Any?> {
|
||||
}
|
||||
|
||||
@SinceKotlin("1.3")
|
||||
// To distinguish suspend function types from ordinary function types all suspend function type shall implement this interface
|
||||
// To distinguish suspend function types from ordinary function types all suspend function types shall implement this interface
|
||||
internal interface SuspendFunction
|
||||
|
||||
@SinceKotlin("1.3")
|
||||
|
||||
Reference in New Issue
Block a user