Files
kotlin-fork/idea/testData/quickfix/addAnnotationTarget/use-site_invalid.kt
T
Toshiaki Kameyama 963e430b42 Make "Add annotation target" available on use-site annotation
So #KT-22861 Fixed
So #KT-22862 Fixed
2018-03-07 15:33:28 +03:00

9 lines
261 B
Kotlin
Vendored

// "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)