Add quickfix for @receiver applied to extension member instead of type
So #KT-14648 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b206f6288d
commit
08bd212d82
@@ -0,0 +1,11 @@
|
||||
// "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() {
|
||||
}
|
||||
Reference in New Issue
Block a user