From 66315cee4569537d4b927b3f1f1048c9389be508 Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Tue, 21 Aug 2018 18:57:37 +0300 Subject: [PATCH] Fix coroutine-related test data --- .../experimentalCoroutineCallFromRelease/output.txt | 8 -------- .../output.txt | 8 -------- 2 files changed, 16 deletions(-) diff --git a/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromRelease/output.txt b/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromRelease/output.txt index ef9768c9764..9ba39abf247 100644 --- a/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromRelease/output.txt +++ b/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromRelease/output.txt @@ -1,11 +1,3 @@ -warning: language version 1.3 is experimental, there are no backwards compatibility guarantees for new language and library features -warning: runtime JAR files in the classpath should have the same version. These files were found in the classpath: - $DIST_DIR$/kotlin-stdlib-coroutines.jar (version 1.3) - $PROJECT_DIR$/lib/kotlin-stdlib.jar (version 1.2) - $PROJECT_DIR$/lib/kotlin-script-runtime.jar (version 1.2) - $PROJECT_DIR$/lib/kotlin-reflect.jar (version 1.2) -warning: consider providing an explicit dependency on kotlin-reflect 1.3 to prevent strange errors -warning: some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromRelease/release.kt:2:5: error: using 'constructor WithTypeParameter Unit>()' is an error. Experimental coroutine cannot be used with API version 1.3 WithTypeParameter Unit>() ^ diff --git a/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromReleaseWarnings/output.txt b/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromReleaseWarnings/output.txt index 17e06a4085f..08698261d27 100644 --- a/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromReleaseWarnings/output.txt +++ b/compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromReleaseWarnings/output.txt @@ -1,11 +1,3 @@ -warning: language version 1.3 is experimental, there are no backwards compatibility guarantees for new language and library features -warning: runtime JAR files in the classpath should have the same version. These files were found in the classpath: - $DIST_DIR$/kotlin-stdlib-coroutines.jar (version 1.3) - $PROJECT_DIR$/lib/kotlin-stdlib.jar (version 1.2) - $PROJECT_DIR$/lib/kotlin-script-runtime.jar (version 1.2) - $PROJECT_DIR$/lib/kotlin-reflect.jar (version 1.2) -warning: consider providing an explicit dependency on kotlin-reflect 1.3 to prevent strange errors -warning: some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath compiler/testData/compileKotlinAgainstCustomBinaries/experimentalCoroutineCallFromReleaseWarnings/release.kt:2:5: warning: 'builder(suspend () -> Unit): Unit' is deprecated. Experimental coroutines support will be dropped in 1.4 builder {} ^