Add more tests for PropertyAccessorDescriptor.isDeafult() usages

This commit is contained in:
Nikolay Krasko
2016-06-18 21:47:38 +03:00
committed by Nikolay Krasko
parent c936b3f3e0
commit eee45e91ce
21 changed files with 184 additions and 0 deletions
@@ -0,0 +1,18 @@
package privatePropertyWithExplicitDefaultGetter
fun main(args: Array<String>) {
val base = Some()
//Breakpoint!
args.size
}
annotation class Small
class Some {
private val a: Int = 1
@Small get
}
// EXPRESSION: base.a
// RESULT: java.lang.NoSuchMethodError : Method not found: MemberDescription(ownerInternalName = privatePropertyWithExplicitDefaultGetter/Some, name = getA, desc = ()I, isStatic = false)