Minor, improve CLI test internalArgOverrideOffLanguageFeature
Avoid disabling language features which cannot be disabled anymore.
This commit is contained in:
committed by
Mikhael Bogdanov
parent
262c9e88d1
commit
d36c56497e
@@ -1,5 +1,5 @@
|
|||||||
$TESTDATA_DIR$/inlineClass.kt
|
$TESTDATA_DIR$/languageVersion.kt
|
||||||
-d
|
-d
|
||||||
$TEMP_DIR$
|
$TEMP_DIR$
|
||||||
-XXLanguage\:+InlineClasses
|
-XXLanguage\:+SealedInterfaces
|
||||||
-XXLanguage\:-InlineClasses
|
-XXLanguage\:-SealedInterfaces
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
warning: ATTENTION!
|
warning: ATTENTION!
|
||||||
This build uses unsafe internal compiler arguments:
|
This build uses unsafe internal compiler arguments:
|
||||||
|
|
||||||
-XXLanguage:-InlineClasses
|
-XXLanguage:-SealedInterfaces
|
||||||
|
|
||||||
This mode is not recommended for production use,
|
This mode is not recommended for production use,
|
||||||
as no stability/compatibility guarantees are given on
|
as no stability/compatibility guarantees are given on
|
||||||
compiler or generated code. Use it at your own risk!
|
compiler or generated code. Use it at your own risk!
|
||||||
|
|
||||||
error: the following features cannot be disabled manually, because the version they first appeared in is no longer supported:
|
compiler/testData/cli/jvm/languageVersion.kt:3:1: error: the feature "sealed interfaces" is disabled
|
||||||
InlineClasses
|
sealed interface Polygon
|
||||||
|
^
|
||||||
COMPILATION_ERROR
|
COMPILATION_ERROR
|
||||||
|
|||||||
Reference in New Issue
Block a user