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,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