From 73b3efd628d28ead8ec482669b469b51e8b9a80f Mon Sep 17 00:00:00 2001 From: Mikhail Zarechenskiy Date: Tue, 24 Oct 2017 01:32:44 +0300 Subject: [PATCH] Remove `LANGUAGE_VERSION` directive from blackBox codegen tests --- compiler/testData/codegen/box/constants/kt9532_lv10.kt | 2 +- ...abilityAssertionOnExtensionReceiverInPrivateOperator_lv11.kt | 2 +- .../nullabilityAssertionOnExtensionReceiver_lv11.kt | 2 +- .../nullabilityAssertionOnInlineFunExtensionReceiver_lv11.kt | 2 +- .../codegen/box/platformTypes/primitives/equalsNull_lv11.kt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/testData/codegen/box/constants/kt9532_lv10.kt b/compiler/testData/codegen/box/constants/kt9532_lv10.kt index 828d90fa11a..0bc734f377d 100644 --- a/compiler/testData/codegen/box/constants/kt9532_lv10.kt +++ b/compiler/testData/codegen/box/constants/kt9532_lv10.kt @@ -1,6 +1,6 @@ +// !LANGUAGE: -InlineConstVals // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS -// LANGUAGE_VERSION: 1.0 object A { const val a: String = "$" diff --git a/compiler/testData/codegen/box/nullabilityAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator_lv11.kt b/compiler/testData/codegen/box/nullabilityAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator_lv11.kt index e14e5e764e4..22817339509 100644 --- a/compiler/testData/codegen/box/nullabilityAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator_lv11.kt +++ b/compiler/testData/codegen/box/nullabilityAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator_lv11.kt @@ -1,7 +1,7 @@ +// !LANGUAGE: -NullabilityAssertionOnExtensionReceiver // TARGET_BACKEND: JVM // FILE: test.kt // WITH_RUNTIME -// LANGUAGE_VERSION: 1.1 private operator fun A.inc() = A() fun box(): String { diff --git a/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnExtensionReceiver_lv11.kt b/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnExtensionReceiver_lv11.kt index 70e926c8b18..5b4312efffe 100644 --- a/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnExtensionReceiver_lv11.kt +++ b/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnExtensionReceiver_lv11.kt @@ -1,7 +1,7 @@ +// !LANGUAGE: -NullabilityAssertionOnExtensionReceiver // TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: test.kt -// LANGUAGE_VERSION: 1.1 import kotlin.test.* fun String.extension() {} diff --git a/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnInlineFunExtensionReceiver_lv11.kt b/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnInlineFunExtensionReceiver_lv11.kt index 4547e585579..46f7045be64 100644 --- a/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnInlineFunExtensionReceiver_lv11.kt +++ b/compiler/testData/codegen/box/nullabilityAssertions/nullabilityAssertionOnInlineFunExtensionReceiver_lv11.kt @@ -1,7 +1,7 @@ +// !LANGUAGE: -NullabilityAssertionOnExtensionReceiver // TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: test.kt -// LANGUAGE_VERSION: 1.1 import kotlin.test.* inline fun String.extension() {} diff --git a/compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv11.kt b/compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv11.kt index 981310ecabe..a930ab8fe66 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv11.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv11.kt @@ -1,4 +1,4 @@ -// LANGUAGE_VERSION: 1.1 +// !LANGUAGE: -ThrowNpeOnExplicitEqualsForBoxedNull // TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: test.kt