8316953259
For diagnostics without any parameters, the given text is simply rendered as a String, so no symbols should be escaped. For diagnostics with parameters, the format in java.text.MessageFormat is used, so one single quote is erased and two single quotes become one single quote in the rendered text.
13 lines
316 B
Kotlin
Vendored
13 lines
316 B
Kotlin
Vendored
// "Add non-null asserted (!!) call" "false"
|
|
// ACTION: Replace with a 'forEach' function call
|
|
// ERROR: Not nullable value required to call an 'iterator()' method on for-loop range
|
|
|
|
class Some {
|
|
fun iterator(): Iterator<Int> = null!!
|
|
}
|
|
|
|
fun foo() {
|
|
val test: Some? = Some()
|
|
for (i in <caret>test) { }
|
|
}
|