Deprecate suppress annotation in favor of Suppress
This commit is contained in:
@@ -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
|
||||
@@ -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
-1
@@ -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
|
||||
Reference in New Issue
Block a user