Resolve annotation arguments only once
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
// ERROR: An integer literal does not conform to the expected type kotlin.String
|
||||
// ERROR: An integer literal does not conform to the expected type kotlin.String
|
||||
|
||||
[suppress(1, "REDUNDANT_NULLABLE")]
|
||||
fun foo(): String?<caret>? = null
|
||||
@@ -1,6 +1,5 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
|
||||
// ERROR: An integer literal does not conform to the expected type kotlin.String
|
||||
// ERROR: An integer literal does not conform to the expected type kotlin.String
|
||||
|
||||
[suppress(1)]
|
||||
fun foo(): String?<caret>? = null
|
||||
Reference in New Issue
Block a user