Fix escaping const string literals in UL

Fixed #KT-38247
This commit is contained in:
Igor Yakovlev
2020-05-09 01:36:12 +03:00
parent 9f8044ff1b
commit 84a582c618
2 changed files with 24 additions and 3 deletions
@@ -26,6 +26,8 @@ class Foo(a: Int, val b:Foo, var c:Boolean, private val d: List, protected val e
const val SUBSYSTEM_DEPRECATED: String = "This subsystem is deprecated"
const val CONSTANT_WITH_ESCAPES = "A\tB\nC\rD\'E\"F\\G\$H"
var counter = 0
set(value) {
if (value >= 0) field = value