889c210576
These tests demonstrate the implicit type phase problem - annotations are also resolved, although they should not ^KT-56551
15 lines
414 B
Kotlin
Vendored
15 lines
414 B
Kotlin
Vendored
package myPack
|
|
|
|
annotation class Anno(val number: Int)
|
|
|
|
fun topLevel() {
|
|
class LocalClass {
|
|
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>prop<!>)
|
|
var prop
|
|
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>prop<!>)
|
|
get() = 22
|
|
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>prop<!>)
|
|
set(@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>prop<!>) value) = Unit
|
|
}
|
|
}
|