Make "Add annotation target" available on use-site annotation

So #KT-22861 Fixed
So #KT-22862 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-02-28 14:36:32 +03:00
committed by Mikhail Glukhikh
parent 442a89bc6c
commit 963e430b42
25 changed files with 217 additions and 6 deletions
@@ -0,0 +1,9 @@
// "Add annotation target" "false"
// ACTION: Create test
// ACTION: Make internal
// ACTION: Make private
// ERROR: This annotation is not applicable to target 'class' and use site target '@get'
annotation class Ann
<caret>@get:Ann
class Test(val foo: String)