Fix string literal escape in replacement expression

(cherry picked from commit 5d993ba9c372df8290875d965f469377c14158e9)
This commit is contained in:
Ilya Gorbunov
2020-06-02 02:06:49 +03:00
committed by Vasily Levchenko
parent fe9aad9c82
commit 69b617c1d3
@@ -886,7 +886,7 @@ public inline fun StringBuilder.setLength(l: Int) = this.setLength(newLength = l
*/
@Deprecated(
"Use insertRange(index: Int, csq: CharSequence, start: Int, end: Int) instead",
ReplaceWith("insertRange(index, csq ?: "null", start, end)"),
ReplaceWith("insertRange(index, csq ?: \"null\", start, end)"),
DeprecationLevel.WARNING
)
@kotlin.internal.InlineOnly