No need to explicitly deprecate -Xdisable-fake-override-validator
A warning is produced automagically
This commit is contained in:
-4
@@ -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)")
|
@Argument(value = "-Xenable-js-scripting", description = "Enable experimental support of .kts files using K/JS (with -Xir only)")
|
||||||
var enableJsScripting: Boolean by FreezableVar(false)
|
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")
|
@Argument(value = "-Xfake-override-validator", description = "Enable IR fake override validator")
|
||||||
var fakeOverrideValidator: Boolean by FreezableVar(false)
|
var fakeOverrideValidator: Boolean by FreezableVar(false)
|
||||||
|
|
||||||
|
|
||||||
@Argument(value = "-Xerror-tolerance-policy", description = "Set up error tolerance policy (NONE, SEMANTIC, SYNTAX, ALL)")
|
@Argument(value = "-Xerror-tolerance-policy", description = "Set up error tolerance policy (NONE, SEMANTIC, SYNTAX, ALL)")
|
||||||
var errorTolerancePolicy: String? by NullableStringFreezableVar(null)
|
var errorTolerancePolicy: String? by NullableStringFreezableVar(null)
|
||||||
|
|
||||||
|
|||||||
-2
@@ -1,7 +1,5 @@
|
|||||||
Usage: kotlinc-js <options> <source files>
|
Usage: kotlinc-js <options> <source files>
|
||||||
where advanced options include:
|
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)
|
-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)
|
-Xerror-tolerance-policy Set up error tolerance policy (NONE, SEMANTIC, SYNTAX, ALL)
|
||||||
-Xfake-override-validator Enable IR fake override validator
|
-Xfake-override-validator Enable IR fake override validator
|
||||||
|
|||||||
Reference in New Issue
Block a user