Adjust KotlinSuppressIntentionAction to syntax with '@'
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun local" "true"
|
||||
|
||||
fun foo() {
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun local(): String?<caret>? = null
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo() {
|
||||
fun local(): String?<caret>? = null
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo() {
|
||||
val a: String?<caret>? = null
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for val a" "true"
|
||||
|
||||
fun foo() {
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
val a: String?<caret>? = null
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
class C {
|
||||
class D {
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for class D" "true"
|
||||
|
||||
class C {
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
class D {
|
||||
fun foo(): String?<caret>? = null
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for class C" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
class C {
|
||||
class D {
|
||||
fun foo(): String?<caret>? = null
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for class C" "true"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
class C {
|
||||
fun foo(): String?<caret>? = null
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
|
||||
class C {
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class com.intellij.codeInspection.SuppressIntentionAction" "false"
|
||||
|
||||
[suppress("REDUNDANT_NULLABLE")]
|
||||
@suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
Reference in New Issue
Block a user