Files
kotlin-fork/idea/testData/quickfix/moveReceiverAnnotation/notExtensionFun.kt
T
2017-07-07 14:19:59 +03:00

11 lines
323 B
Kotlin
Vendored

// "Move annotation to receiver type" "false"
// ERROR: '@receiver:' annotations can only be applied to the receiver type of 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() {
}