Files
kotlin-fork/idea/testData/quickfix/addAnnotationTarget/use-site_invalid.kt
T
Igor Yakovlev 1e72116a9c Fix test data for intention tests
The ExtractDeclarationFromCurrentFileIntention applicability range was changed by commit 3b35c2d24 so the test data of several test comes invalid
2019-08-28 13:07:33 +03:00

10 lines
305 B
Kotlin
Vendored

// "Add annotation target" "false"
// ACTION: Create test
// ACTION: Extract 'Test' from current file
// 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)