Drop all usages of WITH_RUNTIME directive

This commit is contained in:
Ivan Kylchik
2021-11-25 17:41:34 +03:00
committed by TeamCityServer
parent 1874318954
commit b131c52889
24 changed files with 27 additions and 42 deletions
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun <E> SmartList(x: E) {}
fun <E> SmartList(x: Collection<E>) {}
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun <E> SmartList(x: E) {}
fun <E> SmartList(x: Collection<E>) {}
@@ -1,6 +1,6 @@
// FIR_IDENTICAL
// !LANGUAGE: +DisableCheckingChangedProgressionsResolve
// WITH_RUNTIME
// WITH_STDLIB
fun <E> SmartList(x: E) {}
fun <E> SmartList(x: Collection<E>) {}
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// !LANGUAGE: +ProgressionsChangingResolve
fun <E> SmartList(x: E) {}
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// !LANGUAGE: +ProgressionsChangingResolve
fun <E> SmartList(x: E) {}
@@ -1,5 +1,5 @@
// !LANGUAGE: +ContextReceivers
// WITH_RUNTIME
// WITH_STDLIB
fun List<Int>.decimateEveryEvenThird() = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>sequence<!> {
var counter = 1
@@ -1,5 +1,5 @@
// !LANGUAGE: +ContextReceivers
// WITH_RUNTIME
// WITH_STDLIB
fun List<Int>.decimateEveryEvenThird() = sequence {
var counter = 1
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
import kotlin.collections.forEach as forEach1
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
import kotlin.collections.forEach as forEach1
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
class AllCollection2<T> {
fun <K, T> addAll(vararg values: T, values2: Array<K>) = "OK" // 1
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
class AllCollection2<T> {
fun <K, T> addAll(vararg values: T, values2: Array<K>) = "OK" // 1
@@ -1,5 +1,5 @@
// !LANGUAGE: +EliminateAmbiguitiesWithExternalTypeParameters
// WITH_RUNTIME
// WITH_STDLIB
class AllCollection<T> {
fun <K, T> addAll(vararg values: T, values2: Array<K>) = "OK" // 1
@@ -1,5 +1,5 @@
// !LANGUAGE: +EliminateAmbiguitiesWithExternalTypeParameters
// WITH_RUNTIME
// WITH_STDLIB
class AllCollection<T> {
fun <K, T> addAll(vararg values: T, values2: Array<K>) = "OK" // 1