Prohibit adapted reference resolve against reflective types

There are design questions about reflection for adapted references,
 so the current proposal is to prohibit reflection on them and support
 it properly later

 #KT-40406 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-07-17 08:45:17 +03:00
parent d8de37f665
commit 0c79de1a98
18 changed files with 258 additions and 5 deletions
@@ -0,0 +1,5 @@
package
public fun foo(/*0*/ x: kotlin.Int = ...): kotlin.Unit
public fun take(/*0*/ k: kotlin.reflect.KCallable<*>): kotlin.Unit
public fun test(): kotlin.Unit