Introduce Kotlin language version 1.2

Wherein DEFAULT version is still 1.1, which means that version 1.2 should be configured manually
This commit is contained in:
Mikhail Zarechenskiy
2017-03-23 07:29:26 +03:00
parent 283ed85df2
commit 20d5616d75
23 changed files with 55 additions and 50 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -681,4 +681,4 @@ public class CompileKotlinAgainstCustomBinariesTest extends TestCaseWithTmpdir {
new File(getTestDataDirectory(), "output.txt"), normalizeOutput(outputMain)
);
}
}
}
@@ -85,7 +85,7 @@ class KotlinVersionsTest : KtUsefulTestCase() {
)
versions.add(
LanguageVersion.LATEST.versionString.toVersion("LanguageVersion.LATEST")
LanguageVersion.LATEST_STABLE.versionString.toVersion("LanguageVersion.LATEST_STABLE")
)
if (versions.any { v1 -> versions.any { v2 -> !v1.isConsistentWith(v2) } }) {