Adjust KotlinSuppressIntentionAction to syntax with '@'
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for parameter p" "true"
|
||||
|
||||
fun foo([suppress("REDUNDANT_NULLABLE")] vararg p: String?<caret>?) = null
|
||||
fun foo(@suppress("REDUNDANT_NULLABLE") vararg p: String?<caret>?) = null
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
public
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
public fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("FOO", "REDUNDANT_NULLABLE")]
|
||||
@suppress("FOO", "REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")] fun foo(): String?<caret>? = null
|
||||
@suppress("REDUNDANT_NULLABLE") fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
[ann] fun foo(): String?<caret>? = null
|
||||
|
||||
annotation class ann
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
ann fun foo(): String?<caret>? = null
|
||||
|
||||
annotation class ann
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("FOO")]
|
||||
@suppress("FOO")
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress()]
|
||||
@suppress()
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress]
|
||||
@suppress
|
||||
fun foo(): String?<caret>? = null
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress] fun foo(): String?<caret>? = null
|
||||
@suppress fun foo(): String?<caret>? = null
|
||||
Reference in New Issue
Block a user