[TEST] Replace Experimental with OptIn in testdata

This commit is contained in:
Dmitriy Novozhilov
2020-01-15 17:19:06 +03:00
parent 04ce10b6c1
commit 7733611c47
2 changed files with 3 additions and 3 deletions
@@ -1,5 +1,5 @@
// !LANGUAGE: +NewInference
// !USE_EXPERIMENTAL: kotlin.Experimental
// !USE_EXPERIMENTAL: kotlin.RequiresOptIn
// !DIAGNOSTICS: -UNUSED_PARAMETER
// ISSUE: KT-35684
@@ -25,7 +25,7 @@ fun test_3() {
}
}
@UseExperimental(ExperimentalTypeInference::class)
@OptIn(ExperimentalTypeInference::class)
fun <U> sequence(@BuilderInference block: suspend Inv<U>.() -> Unit): U = null!!
interface Inv<T> {
@@ -1,7 +1,7 @@
package
public fun </*0*/ K> materialize(): Inv<K>
@kotlin.UseExperimental(markerClass = {kotlin.experimental.ExperimentalTypeInference::class}) public fun </*0*/ U> sequence(/*0*/ @kotlin.BuilderInference block: suspend Inv<U>.() -> kotlin.Unit): U
@kotlin.OptIn(markerClass = {kotlin.experimental.ExperimentalTypeInference::class}) public fun </*0*/ U> sequence(/*0*/ @kotlin.BuilderInference block: suspend Inv<U>.() -> kotlin.Unit): U
public fun test_1(): kotlin.Unit
public fun test_2(): kotlin.Unit
public fun test_3(): kotlin.Unit