[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
+4
-4
@@ -63,11 +63,11 @@ FILE fqName:<root> fileName:/arrayInAnnotationArguments.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
annotations:
|
||||
TestAnnWithIntArray(x = ['1', '2', '3'])
|
||||
TestAnnWithStringArray(x = ['a', 'b', 'c'])
|
||||
TestAnnWithIntArray(x = [1, 2, 3])
|
||||
TestAnnWithStringArray(x = ["a", "b", "c"])
|
||||
BLOCK_BODY
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
annotations:
|
||||
TestAnnWithIntArray(x = ['4', '5', '6'])
|
||||
TestAnnWithStringArray(x = ['d', 'e', 'f'])
|
||||
TestAnnWithIntArray(x = [4, 5, 6])
|
||||
TestAnnWithStringArray(x = ["d", "e", "f"])
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user