CLI: remove obsolete -Xallow-result-return-type

This commit is contained in:
Alexander Udalov
2023-10-24 12:17:02 +02:00
committed by Space Team
parent 49c659b379
commit 9d5e1bdc47
16 changed files with 5 additions and 44 deletions
-1
View File
@@ -68,7 +68,6 @@ where advanced options include:
-Xallow-any-scripts-in-source-roots
Allow compiling scripts along with regular Kotlin sources.
-Xallow-kotlin-package Allow compiling code in the 'kotlin' package, and allow not requiring 'kotlin.stdlib' in 'module-info'.
-Xallow-result-return-type Allow compiling code when 'kotlin.Result' is used as a return type.
-Xbuiltins-from-sources Compile built-ins from sources.
-Xcheck-phase-conditions Check pre- and postconditions of IR lowering phases.
-Xcheck-sticky-phase-conditions
-1
View File
@@ -155,7 +155,6 @@ where advanced options include:
-Xallow-any-scripts-in-source-roots
Allow compiling scripts along with regular Kotlin sources.
-Xallow-kotlin-package Allow compiling code in the 'kotlin' package, and allow not requiring 'kotlin.stdlib' in 'module-info'.
-Xallow-result-return-type Allow compiling code when 'kotlin.Result' is used as a return type.
-Xbuiltins-from-sources Compile built-ins from sources.
-Xcheck-phase-conditions Check pre- and postconditions of IR lowering phases.
-Xcheck-sticky-phase-conditions
@@ -1,4 +0,0 @@
$TESTDATA_DIR$/flagAllowingResultAsReturnType.kt
-Xallow-result-return-type
-d
$TEMP_DIR$
@@ -1 +0,0 @@
fun foo(): Result<Int> = TODO()
@@ -1 +0,0 @@
OK