Adjust KotlinSuppressIntentionAction to syntax with '@'

This commit is contained in:
Denis Zharkov
2015-05-06 19:38:51 +03:00
parent 849b8acbf8
commit e59a0dd0c6
80 changed files with 83 additions and 83 deletions
@@ -1,5 +1,5 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
// ERROR: An integer literal does not conform to the expected type kotlin.String
[suppress(1, "REDUNDANT_NULLABLE")]
@suppress(1, "REDUNDANT_NULLABLE")
fun foo(): String?<caret>? = null
@@ -1,5 +1,5 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
// ERROR: Unresolved reference: ann
[suppress("REDUNDANT_NULLABLE")]
@suppress("REDUNDANT_NULLABLE")
[ann] fun foo(): String?<caret>? = null
@@ -1,5 +1,5 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
// ERROR: An integer literal does not conform to the expected type kotlin.String
[suppress(1)]
@suppress(1)
fun foo(): String?<caret>? = null