Deprecate suppress annotation in favor of Suppress
This commit is contained in:
+1
-1
@@ -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
|
||||
Vendored
+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
|
||||
Vendored
+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("FOO", "REDUNDANT_NULLABLE")
|
||||
@Suppress("FOO", "REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
Vendored
+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("REDUNDANT_NULLABLE")
|
||||
@Suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
Vendored
+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("REDUNDANT_NULLABLE")
|
||||
@Suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
idea/testData/quickfix/suppress/annotationPosition/topLevelFunctionSuppressNoArgsPreviousLineBare.kt
Vendored
+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("REDUNDANT_NULLABLE")
|
||||
@Suppress("REDUNDANT_NULLABLE")
|
||||
fun foo(): String?<caret>? = null
|
||||
Vendored
+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
|
||||
+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
|
||||
Vendored
+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
|
||||
+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
|
||||
Vendored
+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
|
||||
Vendored
+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
|
||||
Reference in New Issue
Block a user