Files
kotlin-fork/idea/testData/quickfix/moveReceiverAnnotation/notExtensionFun.kt
T
2017-05-30 15:47:21 +03:00

11 lines
304 B
Kotlin
Vendored

// "Move annotation to receiver type" "false"
// ERROR: '@receiver:' annotations could be applied only to extension function or extension property declarations
// ACTION: Convert to expression body
// ACTION: Make internal
// ACTION: Make private
annotation class Ann
@receiver:Ann<caret>
fun foo() {
}