[PSI2IR, K/Wasm] Sync start and end offsets on PSI and FIR for primary constructors
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
@0:0..14:0 FILE fqName:<root> fileName:/primaryConstructors.kt
|
||||
@0:0..23 CLASS CLASS name:Test1 modality:FINAL visibility:public superTypes:[kotlin.Any]
|
||||
@0:0..23 CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test1 [primary]
|
||||
@0:11..23 CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test1 [primary]
|
||||
@0:12..22 VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||
@0:0..23 BLOCK_BODY
|
||||
@0:11..23 BLOCK_BODY
|
||||
@0:0..23 DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
@0:0..23 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test1 modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
@0:12..22 PROPERTY name:x visibility:public modality:FINAL [val]
|
||||
@@ -26,7 +26,7 @@
|
||||
@2:0..3:32 CLASS CLASS name:Test2 modality:FINAL visibility:public superTypes:[kotlin.Any]
|
||||
@3:9..32 CONSTRUCTOR visibility:internal <> (x:kotlin.Int) returnType:<root>.Test2 [primary]
|
||||
@3:21..31 VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||
@2:0..3:32 BLOCK_BODY
|
||||
@3:9..32 BLOCK_BODY
|
||||
@2:0..3:32 DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
@2:0..3:32 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test2 modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
@3:21..31 PROPERTY name:x visibility:public modality:FINAL [val]
|
||||
@@ -50,7 +50,7 @@
|
||||
@5:0..9:23 CLASS CLASS name:Test3 modality:FINAL visibility:public superTypes:[kotlin.Any]
|
||||
@9:0..23 CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test3 [primary]
|
||||
@9:12..22 VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||
@5:0..9:23 BLOCK_BODY
|
||||
@9:0..23 BLOCK_BODY
|
||||
@5:0..9:23 DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
@5:0..9:23 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test3 modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
@9:12..22 PROPERTY name:x visibility:public modality:FINAL [val]
|
||||
@@ -78,7 +78,7 @@
|
||||
@12:10..27 VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
@12:10..27 CONST String type=kotlin.String value="UNUSED_VARIABLE"
|
||||
@13:12..22 VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||
@11:0..13:23 BLOCK_BODY
|
||||
@13:0..23 BLOCK_BODY
|
||||
@11:0..13:23 DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
@11:0..13:23 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test4 modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
@13:12..22 PROPERTY name:x visibility:public modality:FINAL [val]
|
||||
|
||||
Reference in New Issue
Block a user