Do not report "unused symbol" on experimental annotations

#KT-25609 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-08-21 16:20:05 +03:00
parent 4113a6fd6a
commit b41ef6a807
4 changed files with 41 additions and 0 deletions
@@ -0,0 +1,10 @@
// "Safe delete 'Marker'" "false"
// COMPILER_ARGUMENTS: -Xuse-experimental=kotlin.Experimental -Xuse-experimental=test.Marker
// WITH_RUNTIME
// ACTION: Rename file to Marker.kt
// TOOL: org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection
package test
@Experimental
annotation class <caret>Marker
@@ -0,0 +1,10 @@
// "Safe delete 'Marker'" "false"
// COMPILER_ARGUMENTS: -Xuse-experimental=kotlin.Experimental -Xexperimental=test.Marker
// WITH_RUNTIME
// ACTION: Rename file to Marker.kt
// TOOL: org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection
package test
@Experimental
annotation class <caret>Marker