Report error on using reflection without kotlin-reflect.jar in classpath
Should be a warning because strictly speaking, the codegen doesn't need it during the compilation. It's an error at the moment only to let all clients of Kotlin reflection know that they must include kotlin-reflect.jar in the classpath
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
class Foo(val prop: Any)
|
||||
|
||||
fun t1() = Foo::prop
|
||||
fun t2() = Foo::class
|
||||
Reference in New Issue
Block a user