Add test for calling release coroutine from experimental one
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
suspend fun callRelease() {
|
||||
dummy()
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
suspend fun dummy() {}
|
||||
compiler/testData/compileKotlinAgainstCustomBinaries/releaseCoroutineCallFromExperimental/output.txt
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
compiler/testData/compileKotlinAgainstCustomBinaries/releaseCoroutineCallFromExperimental/experimental.kt:2:5: error: 'dummy(): Unit' is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2
|
||||
dummy()
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user