From 01ef41ab17b7071535a2080202ed3ee7dd407268 Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Tue, 17 Nov 2020 21:58:05 +0300 Subject: [PATCH] No need to explicitly deprecate -Xdisable-fake-override-validator A warning is produced automagically --- .../kotlin/cli/common/arguments/K2JSCompilerArguments.kt | 4 ---- compiler/testData/cli/js/jsExtraHelp.out | 2 -- 2 files changed, 6 deletions(-) diff --git a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JSCompilerArguments.kt b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JSCompilerArguments.kt index 0ca13d36aa2..064b1edb16d 100644 --- a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JSCompilerArguments.kt +++ b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JSCompilerArguments.kt @@ -172,13 +172,9 @@ class K2JSCompilerArguments : CommonCompilerArguments() { @Argument(value = "-Xenable-js-scripting", description = "Enable experimental support of .kts files using K/JS (with -Xir only)") var enableJsScripting: Boolean by FreezableVar(false) - @Argument(value = "-Xdisable-fake-override-validator", description = "This option is deprecated") - var disableFakeOverrideValidator: Boolean by FreezableVar(false) - @Argument(value = "-Xfake-override-validator", description = "Enable IR fake override validator") var fakeOverrideValidator: Boolean by FreezableVar(false) - @Argument(value = "-Xerror-tolerance-policy", description = "Set up error tolerance policy (NONE, SEMANTIC, SYNTAX, ALL)") var errorTolerancePolicy: String? by NullableStringFreezableVar(null) diff --git a/compiler/testData/cli/js/jsExtraHelp.out b/compiler/testData/cli/js/jsExtraHelp.out index 985fcc47e64..03bc63d0b88 100644 --- a/compiler/testData/cli/js/jsExtraHelp.out +++ b/compiler/testData/cli/js/jsExtraHelp.out @@ -1,7 +1,5 @@ Usage: kotlinc-js where advanced options include: - -Xdisable-fake-override-validator - This option is deprecated -Xenable-js-scripting Enable experimental support of .kts files using K/JS (with -Xir only) -Xerror-tolerance-policy Set up error tolerance policy (NONE, SEMANTIC, SYNTAX, ALL) -Xfake-override-validator Enable IR fake override validator