Improve diagnostic message for annotations with @receiver

#KT-14647 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-06-29 21:12:26 +03:00
parent f5cd8c7e4d
commit c853ac95ad
3 changed files with 3 additions and 3 deletions
@@ -1,5 +1,5 @@
// "Move annotation to receiver type" "false"
// ERROR: '@receiver:' annotations could be applied only to extension function or extension property declarations
// 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