Add more tests for PropertyAccessorDescriptor.isDeafult() usages
This commit is contained in:
committed by
Nikolay Krasko
parent
c936b3f3e0
commit
eee45e91ce
+18
@@ -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)
|
||||
Reference in New Issue
Block a user