Files
kotlin-fork/idea/testData/quickfix/suppress/errorRecovery/afterNonStringInSuppress.kt
T
2014-03-02 19:55:26 +04:00

6 lines
286 B
Kotlin

// "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