Load Java declarations which reference FunctionN as Deprecated.Error
#KT-25855 Fixed
This commit is contained in:
+2
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user