889c210576
These tests demonstrate the implicit type phase problem - annotations are also resolved, although they should not ^KT-56551
10 lines
208 B
Kotlin
Vendored
10 lines
208 B
Kotlin
Vendored
package myPack
|
|
|
|
annotation class Anno(val number: Int)
|
|
|
|
fun topLevelFun() {
|
|
class LocalClass {
|
|
fun @receiver:Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>42.function()<!>) Int.function() = 1
|
|
}
|
|
}
|