889c210576
These tests demonstrate the implicit type phase problem - annotations are also resolved, although they should not ^KT-56551
16 lines
385 B
Kotlin
Vendored
16 lines
385 B
Kotlin
Vendored
package myPack
|
|
|
|
annotation class Anno(val number: String)
|
|
|
|
fun topLevelFun() {
|
|
class LocalClass {
|
|
@Anno(variableToResolve)
|
|
@field:Anno(variableToResolve)
|
|
var variableToResolve = "${42}"
|
|
@Anno(variableToResolve)
|
|
get() = field + "str"
|
|
@Anno(variableToResolve)
|
|
set(@Anno(variableToResolve) value) = Unit
|
|
}
|
|
}
|