From 8fdc39ecbcde28be1dc241d1ca08261c7fedfd96 Mon Sep 17 00:00:00 2001 From: Mikhail Zarechenskiy Date: Tue, 10 Mar 2020 12:15:06 +0300 Subject: [PATCH] Update test data due to using stdlib with a pre_release flag The problem here is that we have separate bootstrap compiler and artifacts (stdlib, for example) that are used in tests and implicitly participate in them. For example, this test started to fail when bootstrap compiler was advanced to a version where pre_release flag is enabled. As a result, dependent stdlib become pre_release as well and now we have additional error about `Unit` type --- .../releaseCompilerAgainstPreReleaseLibrary/output.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/output.txt b/compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/output.txt index 746efd8b93d..dfccedf239a 100644 --- a/compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/output.txt +++ b/compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/output.txt @@ -35,6 +35,9 @@ compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreRe compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/source.kt:13:5: error: class 'a.AKt' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler bar = 239 ^ +compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/source.kt:13:5: error: class 'kotlin.Unit' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler + bar = 239 + ^ compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/source.kt:14:12: error: class 'a.AKt' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler val z: TA = "" ^