KT-52217 Rename 'use-fir' to 'use-k2', update message

This commit is contained in:
Simon Ogorodnik
2022-04-26 16:16:38 +03:00
committed by Space
parent 1c90d8a960
commit 58885a1b07
52 changed files with 96 additions and 98 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
$TESTDATA_DIR$/conflictingProjection.kt
-Xuse-fir
-Xuse-k2
-d
$TEMP_DIR$
+2 -2
View File
@@ -1,6 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/conflictingProjection.kt:10:19: error: projection is conflicting with variance of the corresponding type parameter of Out<in kotlin/Int>. Remove the projection or replace it with '*'
fun a8(value: Out<in Int>) {}
^
+1 -1
View File
@@ -1,5 +1,5 @@
$TESTDATA_DIR$/extendedCheckers.kt
-Xuse-fir
-Xuse-k2
-Xuse-fir-extended-checkers
-d
$TEMP_DIR$
+2 -2
View File
@@ -1,6 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/extendedCheckers.kt:2:12: warning: redundant explicit type
val i: Int = 1
^
+1 -1
View File
@@ -1,5 +1,5 @@
$TESTDATA_DIR$/extendedCheckersNoWarning.kt
-Xuse-fir
-Xuse-k2
-Xuse-fir-extended-checkers
-d
$TEMP_DIR$
+2 -2
View File
@@ -1,4 +1,4 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
OK
+1 -1
View File
@@ -210,10 +210,10 @@ where advanced options include:
-Xsuppress-version-warnings Suppress warnings about outdated, inconsistent or experimental language or API versions
-Xunrestricted-builder-inference
Eliminate builder inference restrictions like allowance of returning type variables of a builder inference call
-Xuse-fir Compile using Front-end IR. Warning: this feature is far from being production-ready
-Xuse-fir-extended-checkers Use extended analysis mode based on Front-end IR. Warning: this feature is far from being production-ready
-Xuse-fir-ic Compile using Front-end IR internal incremental compilation cycle. Warning: this feature is far from being production-ready
-Xuse-fir-lt Compile using LightTree parser with Front-end IR. Warning: this feature is far from being production-ready
-Xuse-k2 Compile using experimental K2. K2 is a new compiler pipeline, no compatibility guarantees are yet provided
-Xuse-mixed-named-arguments Enable Support named arguments in their own position even if the result appears as mixed
-Xverbose-phases Be verbose while performing these backend phases
+1 -1
View File
@@ -1,4 +1,4 @@
$TESTDATA_DIR$/firError.kt
-Xuse-fir
-Xuse-k2
-d
$TEMP_DIR$
+2 -2
View File
@@ -1,6 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/firError.kt:5:13: error: variable 'x' must be initialized
println(x)
^
+1 -1
View File
@@ -1,4 +1,4 @@
$TESTDATA_DIR$/firHello.kt
-Xuse-fir
-Xuse-k2
-d
$TEMP_DIR$
+2 -2
View File
@@ -1,4 +1,4 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
OK
@@ -2,7 +2,7 @@ $TESTDATA_DIR$/firMultiplatformCompilationWithError/common.kt
$TESTDATA_DIR$/firMultiplatformCompilationWithError/jvm.kt
-Xcommon-sources
$TESTDATA_DIR$/firMultiplatformCompilationWithError/common.kt
-Xuse-fir
-Xuse-k2
-cp
.
-d
@@ -9,8 +9,8 @@ as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/firMultiplatformCompilationWithError/jvm.kt:1:18: error: actual class 'public abstract actual interface A : R|kotlin/Any|' has no corresponding members for expected class members:
public abstract expect fun foo(): R|kotlin/Unit|
@@ -2,7 +2,7 @@ $TESTDATA_DIR$/firMultiplatformCompilationWithoutErrors/common.kt
$TESTDATA_DIR$/firMultiplatformCompilationWithoutErrors/jvm.kt
-Xcommon-sources
$TESTDATA_DIR$/firMultiplatformCompilationWithoutErrors/common.kt
-Xuse-fir
-Xuse-k2
-cp
.
-d
@@ -9,6 +9,6 @@ as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
OK
+1 -1
View File
@@ -1,5 +1,5 @@
$TESTDATA_DIR$/firStdlibDependency.kt
-Xuse-fir
-Xuse-k2
-cp
.
-d
+2 -2
View File
@@ -1,4 +1,4 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
OK
+1 -1
View File
@@ -1,6 +1,6 @@
$TESTDATA_DIR$/firVsClassicAnnotation.kt
-classpath
$TESTDATA_DIR$/firVsClassicAnnotation
-Xuse-fir
-Xuse-k2
-d
$TEMP_DIR$
+2 -2
View File
@@ -1,4 +1,4 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
OK
@@ -1,4 +1,4 @@
$TESTDATA_DIR$/inapplicableLateinitModifier.kt
-Xuse-fir
-Xuse-k2
-d
$TEMP_DIR$
+2 -2
View File
@@ -1,6 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/inapplicableLateinitModifier.kt:6:1: error: 'lateinit' modifier is not allowed on delegated properties
lateinit var kest by Delegate
^
@@ -1,4 +1,4 @@
$TESTDATA_DIR$/instanceAccessBeforeSuperCall.kt
-Xuse-fir
-Xuse-k2
-d
$TEMP_DIR$
@@ -1,6 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/instanceAccessBeforeSuperCall.kt:2:26: error: unresolved reference: getSomeInt
constructor(x: Int = getSomeInt(), other: A = this, header: String = keker) {}
^
+1 -1
View File
@@ -2,5 +2,5 @@ $TESTDATA_DIR$/optInEmptyMessageFir.kt
-d
$TEMP_DIR$
-opt-in=kotlin.RequiresOptIn
-Xuse-fir
-Xuse-k2
+2 -2
View File
@@ -1,6 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/optInEmptyMessageFir.kt:8:5: error: this declaration needs opt-in. Its usage must be marked with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
foo()
^
+1 -1
View File
@@ -2,4 +2,4 @@ $TESTDATA_DIR$/optInOverrideMessageFir.kt
-d
$TEMP_DIR$
-opt-in=kotlin.RequiresOptIn
-Xuse-fir
-Xuse-k2
+2 -2
View File
@@ -1,6 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
This build uses experimental K2 compiler:
-Xuse-k2
compiler/testData/cli/jvm/optInOverrideMessageFir.kt:16:18: error: base declaration of supertype 'Base' needs opt-in. This API is experimental and can change at any time, please use with care. The declaration override must be annotated with '@Marker' or '@OptIn(Marker::class)'
override fun foo() {}
^