Do not report diagnostic about annotation with receiver target twice

This commit is contained in:
Mikhail Zarechenskiy
2017-09-11 19:25:53 +03:00
parent 2048a74302
commit e16d16fdb7
9 changed files with 14 additions and 40 deletions
@@ -1,5 +1,5 @@
// "Move annotation to receiver type" "false"
// ERROR: '@receiver:' annotations can only be applied to the receiver type of extension function or extension property declarations
// ERROR: This annotation is not applicable to target 'top level function' and use site target '@receiver'
// ACTION: Make internal
// ACTION: Make private