[kotlin] Fix testData after fixes in kotlin repo

(cherry picked from commit 3ac9787122b4ed1f3654d9bb6e8ae62331c6692b)

GitOrigin-RevId: 6325d3b5357d637c9d262ea01dd09754cfe0cb17
This commit is contained in:
Nikita Bobko
2025-02-26 12:08:52 +01:00
committed by intellij-monorepo-bot
parent d7254382fd
commit d2dd89260d
15 changed files with 16 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "false"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
fun test() {
<caret>$$"$Can't enable$"

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
fun test() {
$$"$Enable me$"
}

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
fun test() {
<caret>$$"$Enable me$"
}

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
fun test() {
$$"$Enable me$"

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
fun test() {
<caret>$$"$Enable me$"

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
fun test() {
$$"$Enable me$"
}

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
fun test() {
<caret>$$"$Enable me$"
}

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
package p
fun test() {

View File

@@ -1,5 +1,5 @@
// "Configure arguments for the feature: multi dollar interpolation" "true"
// K2_ERROR: The feature "multi dollar interpolation" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xmulti-dollar-interpolation', but note that no stability guarantees are provided.
// K2_ERROR: The feature "multi dollar interpolation" is only available since language version 2.2
package p
fun test() {

View File

@@ -1,6 +1,7 @@
// COMPILER_ARGUMENTS: -XXLanguage:-WhenGuards
// IS_APPLICABLE: false
// ERROR: The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
// ERROR: The feature "when guards" is only available since language version 2.2
// K2_ERROR: The feature "when guards" is only available since language version 2.2
private fun test(s: Any) {
when (s) {

View File

@@ -1,7 +1,7 @@
// IGNORE_K1
// "Replace '&&' with 'if'" "false"
// WITH_STDLIB
// K2_AFTER_ERROR: The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
// K2_AFTER_ERROR: The feature "when guards" is only available since language version 2.2
fun test(a: Any) {
when (a) {

View File

@@ -1,7 +1,7 @@
// IGNORE_K1
// "Replace '&&' with 'if'" "true"
// WITH_STDLIB
// K2_AFTER_ERROR: The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
// K2_AFTER_ERROR: The feature "when guards" is only available since language version 2.2
fun test(a: Any) {
when (a) {

View File

@@ -1,7 +1,7 @@
// IGNORE_K1
// "Replace '&&' with 'if'" "true"
// WITH_STDLIB
// K2_AFTER_ERROR: The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
// K2_AFTER_ERROR: The feature "when guards" is only available since language version 2.2
fun test(a: Any) {
when (a) {

View File

@@ -1,7 +1,7 @@
// IGNORE_K1
// "Replace '&&' with 'if'" "true"
// WITH_STDLIB
// K2_AFTER_ERROR: The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
// K2_AFTER_ERROR: The feature "when guards" is only available since language version 2.2
fun test(a: Any) {
when (a) {

View File

@@ -1,7 +1,7 @@
// IGNORE_K1
// "Replace '&&' with 'if'" "true"
// WITH_STDLIB
// K2_AFTER_ERROR: The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
// K2_AFTER_ERROR: The feature "when guards" is only available since language version 2.2
fun test(a: Any) {
when (a) {