[IR] Render different quotes depending on IR constant type
This is needed for ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT diagnostic message, but also seems to be good improvement for IR dumps in tests. ^KT-62559
This commit is contained in:
committed by
Space Team
parent
8f6b6e17be
commit
5cf33c3556
+2
-2
@@ -34,9 +34,9 @@ FILE fqName:<root> fileName:/variablesWithAnnotations.kt
|
||||
BLOCK_BODY
|
||||
VAR name:testVal type:kotlin.String [val]
|
||||
annotations:
|
||||
TestAnn(x = 'foo/testVal')
|
||||
TestAnn(x = "foo/testVal")
|
||||
CONST String type=kotlin.String value="testVal"
|
||||
VAR name:testVar type:kotlin.String [var]
|
||||
annotations:
|
||||
TestAnn(x = 'foo/testVar')
|
||||
TestAnn(x = "foo/testVar")
|
||||
CONST String type=kotlin.String value="testVar"
|
||||
|
||||
Reference in New Issue
Block a user