Replace UseExperimental with OptIn in BB builder inference tests

This commit is contained in:
Mikhail Glukhikh
2021-09-23 11:48:57 +03:00
committed by TeamCityServer
parent ac3b738d9b
commit 11459aced6
9 changed files with 19 additions and 19 deletions
@@ -5,7 +5,7 @@
// FILE: main.kt
import kotlin.experimental.ExperimentalTypeInference
@UseExperimental(ExperimentalTypeInference::class)
@OptIn(ExperimentalTypeInference::class)
fun <R> build(@BuilderInference block: TestInterface<R>.() -> Unit) {}
interface TestInterface<R> {