[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
@@ -33,14 +33,14 @@ FILE fqName:<root> fileName:/valueParametersWithAnnotations.kt
|
||||
FUN name:testFun visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||
annotations:
|
||||
TestAnn(x = 'testFun.x')
|
||||
TestAnn(x = "testFun.x")
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:TestClassConstructor1 modality:FINAL visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestClassConstructor1
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.TestClassConstructor1 [primary]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||
annotations:
|
||||
TestAnn(x = 'TestClassConstructor1.x')
|
||||
TestAnn(x = "TestClassConstructor1.x")
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:TestClassConstructor1 modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
|
||||
Reference in New Issue
Block a user