[kotlin j2k] Fix conversion of escaped dollar sign in string literals
authorAlexey Belkov <alexey.belkov@jetbrains.com>
Wed, 26 Jan 2022 18:35:54 +0000 (21:35 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 27 Jan 2022 09:34:48 +0000 (09:34 +0000)
commit0f473bd9df94344617b27713c7e994bf9f0965bf
tree7a09f24342118c2db5637b016b9fc91a62d76684
parenta4ca676c4d039fba44a2e1dc2090557807afe424
[kotlin j2k] Fix conversion of escaped dollar sign in string literals

Note: `LiteralConversion` was erroneously registered twice,
so the dollar sign was escaped twice as well.

^KTIJ-18130 Fixed

GitOrigin-RevId: 154fb4f34194da26cdd947d51c652527835890a5
plugins/kotlin/j2k/new/src/org/jetbrains/kotlin/nj2k/ConversionsRunner.kt
plugins/kotlin/j2k/new/src/org/jetbrains/kotlin/nj2k/conversions/LiteralConversion.kt
plugins/kotlin/j2k/new/tests/testData/newJ2k/literalExpression/dollarInsideString.java
plugins/kotlin/j2k/new/tests/testData/newJ2k/literalExpression/dollarInsideString.kt