Introduce NoSuchPropertyException and IllegalAccessException

No new tests added because it's difficult to model a situation where a
::-access is allowed but the code throws these exceptions at runtime
This commit is contained in:
Alexander Udalov
2014-07-02 01:23:25 +04:00
parent a84d528325
commit 36f7cc742f
8 changed files with 124 additions and 15 deletions
@@ -1,3 +1,4 @@
import kotlin.reflect.IllegalAccessException
import kotlin.reflect.jvm.accessible
class A(param: String) {