Rename UseExperimental->OptIn, Experimental->RequiresOptIn in compiler tests

This commit is contained in:
Alexander Udalov
2019-12-18 20:03:42 +01:00
parent b839b905b5
commit 7742a3b697
137 changed files with 416 additions and 416 deletions
@@ -22,7 +22,7 @@ interface LiveDataScope<T> {
suspend fun emit(value: T)
}
@UseExperimental(ExperimentalTypeInference::class)
@OptIn(ExperimentalTypeInference::class)
fun <T> liveData(@BuilderInference block: suspend LiveDataScope<T>.() -> Unit): LiveData<T> = null!!
fun <Value> Flow<Value>.asLiveData() = liveData {