Fix accessibility check for experimental declarations from default scope

#KT-40919 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-08-07 14:04:10 +03:00
parent b403b63f48
commit 0c13a7f89a
12 changed files with 73 additions and 7 deletions
@@ -0,0 +1,7 @@
@ExperimentalStdlibApi
fun test(s: ArrayDeque<Int>): ArrayDeque<Int>? {
ArrayDeque<Int>(42)
val x: ArrayDeque<Int>? = null
return x ?: s
}