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
// !DIAGNOSTICS: -UNUSED_PARAMETER
interface Base
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER
interface Base
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun runWithoutReturn(r: () -> Unit) = r()
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun runWithoutReturn(r: () -> Unit) = r()
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER, -UNUSED_VARIABLE
fun test(x: Int?) {
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER, -UNUSED_VARIABLE
fun test(x: Int?) {
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
class Array<E>(e: E) {
val k = Array(1) {
1 as Any
-1
View File
@@ -1,4 +1,3 @@
// !WITH_NEW_INFERENCE
class Array<E>(e: E) {
val k = Array(1) {
1 <!USELESS_CAST!>as Any<!>