Refactor LanguageVersionSettings.isApiVersionExplicit

Pass it in the CompilerConfiguration instead of LanguageVersionSettings.
This is better because LanguageVersionSettings is accessible everywhere
in front-end and back-end, and this flag should not be used there
This commit is contained in:
Alexander Udalov
2017-03-13 11:21:43 +03:00
parent 32826c1686
commit 34e131c928
5 changed files with 10 additions and 11 deletions
@@ -109,9 +109,6 @@ abstract class BaseDiagnosticsTest : KotlinMultiFileTestWithJava<TestModule, Tes
languageFeatures[feature] ?: delegate.getFeatureSupport(feature)
override val skipMetadataVersionCheck: Boolean get() = false
override val isApiVersionExplicit: Boolean
get() = error("Must not be called")
}
inner class TestFile(