Remove WITH_NEW_INFERENCE directive from all tests

This directive anyway does not make test run twice with OI, and with NI
It only once run the test with specific settings (// LANGUAGE)
and ignores irrelevant (OI or NI tags)
This commit is contained in:
Denis.Zharkov
2021-05-24 12:18:44 +03:00
committed by teamcityserver
parent d4586cefb4
commit 2ecba6ac39
1333 changed files with 2 additions and 1337 deletions
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
//For testing error messages text see DiagnosticMessageTest.testFunctionPlaceholder
package a
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
//For testing error messages text see DiagnosticMessageTest.testFunctionPlaceholder
package a
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
package a
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
package a
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
package aa
fun <T, R> foo(block: (T)-> R) = block
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
package aa
fun <T, R> foo(block: (T)-> R) = block
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun <K> id2(x: K, s: String): K = x
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun <K> id2(x: K, s: String): K = x
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
package a
fun <R> foo (f: ()->R, r: MutableList<R>) = r.add(f())
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
package a
fun <R> foo (f: ()->R, r: MutableList<R>) = r.add(f())
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_VARIABLE
class X
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_VARIABLE
class X
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
class X
operator fun <T> X.iterator(): Iterable<T> = TODO()
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
class X
operator fun <T> X.iterator(): Iterable<T> = TODO()
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// WITH_RUNTIME
fun Runnable.test(f: Runnable.(Int) -> Unit) {
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// WITH_RUNTIME
fun Runnable.test(f: Runnable.(Int) -> Unit) {