Remove explicit enabling the new type inference from test data

This commit is contained in:
Victor Petukhov
2022-06-02 17:15:35 +02:00
committed by teamcity
parent 224beb24eb
commit 42e71f8c53
1097 changed files with 73 additions and 1129 deletions
@@ -1,5 +1,4 @@
$TESTDATA_DIR$/newInferenceImpliesSamConversions.kt
-d
$TEMP_DIR$
-XXLanguage\:+NewInference
-XXLanguage\:-SamConversionForKotlinFunctions
@@ -1,7 +1,6 @@
warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
-XXLanguage:-SamConversionForKotlinFunctions
This mode is not recommended for production use,
@@ -1,4 +1,3 @@
$TESTDATA_DIR$/functionReferenceWithDefaultValuesFeatureIsEnabledWithNewInference.kt
-d
$TEMP_DIR$
-XXLanguage\:+NewInference
@@ -1,10 +1 @@
warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
OK
@@ -1,4 +1,3 @@
$TESTDATA_DIR$/newInferenceImpliesProgressiveModeForNI.kt
-d
$TEMP_DIR$
-XXLanguage\:+NewInference
@@ -1,16 +1,11 @@
warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
compiler/testData/cli/jvm/newInferenceImpliesProgressiveModeForNI.kt:6:13: warning: parameter 'x' is never used
fun bar(x: Int = 0): String = ""
^
compiler/testData/cli/jvm/newInferenceImpliesProgressiveModeForNI.kt:9:13: warning: variable 'r1' is never used
val r1 = foo(::bar)
^
compiler/testData/cli/jvm/newInferenceImpliesProgressiveModeForNI.kt:9:22: warning: candidate resolution will be changed soon, please use fully qualified name to invoke the following closer candidate explicitly '
public final fun bar(x: Int = ...): String defined in Scope'
val r1 = foo(::bar)
^
OK
@@ -1,4 +1,3 @@
$TESTDATA_DIR$/newInferenceImpliesSamConversions.kt
-d
$TEMP_DIR$
-XXLanguage\:+NewInference
@@ -1,12 +1,3 @@
warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
compiler/testData/cli/jvm/newInferenceImpliesSamConversions.kt:1:9: warning: parameter 'r' is never used
fun foo(r: Runnable) {}
^
@@ -1,4 +1,3 @@
$TESTDATA_DIR$/standaloneSamConversionsAreEnabledWithNewInference.kt
-d
$TEMP_DIR$
-XXLanguage\:+NewInference
@@ -1,10 +1 @@
warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
OK