Load Java declarations which reference FunctionN as Deprecated.Error

#KT-25855 Fixed
This commit is contained in:
Denis Zharkov
2018-08-29 15:01:15 +03:00
parent bcf1b9c804
commit 24a905293f
16 changed files with 196 additions and 22 deletions
@@ -50,7 +50,9 @@ fun Any.g(
): Any = Any()
fun box(): String {
@Suppress("DEPRECATION_ERROR")
Test.test(::f as kotlin.jvm.functions.FunctionN<Any>)
@Suppress("DEPRECATION_ERROR")
Test.test(Any::g as kotlin.jvm.functions.FunctionN<Any>)
return "OK"
}