Files
kotlin-fork/idea/testData/quickfix/suppress/errorRecovery/afterNonStringInSuppress.kt
T
Andrey Breslav a13b66c58e 'Suppress warnings' as quick fix options
If no quick fix is available a special intention is shown
2013-09-24 06:58:41 -07:00

6 lines
280 B
Kotlin

// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
// ERROR: An integer literal does not conform to the expected type jet.String
// ERROR: An integer literal does not conform to the expected type jet.String
[suppress(1, "REDUNDANT_NULLABLE")]
fun foo(): String?<caret>? = null