Reflection literals (no bound member references yet).

This commit is contained in:
Dmitry Petrov
2016-09-02 15:49:48 +03:00
committed by Dmitry Petrov
parent 8b95992af1
commit 3c0cce4c48
9 changed files with 187 additions and 3 deletions
@@ -0,0 +1,13 @@
class A {
fun foo() {}
}
fun bar() {}
val qux = 42
val test1 = A::class
val test2 = qux::class
val test3 = A::foo
val test4 = ::A
val test5 = A()::foo
val test6 = ::bar
val test7 = ::qux