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:
Ilmir Usmanov
2018-08-10 20:22:06 +03:00
committed by Ilya Gorbunov
parent a205019156
commit fe451dce31
7 changed files with 49 additions and 5 deletions
@@ -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")