[FIR2IR] Set correct endOffset for the IrBranch
We want to use end offset of branch's result as the end for the whole branch, not just the end of its condition. #KT-63779 Fixed
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
@3:4..46 FIELD PROPERTY_BACKING_FIELD name:maybeThis type:<root>.Klass? visibility:private [final]
|
||||
@3:20..46 EXPRESSION_BODY
|
||||
@3:20..46 WHEN type=<root>.Klass? origin=IF
|
||||
@3:24..30 BRANCH
|
||||
@3:24..36 BRANCH
|
||||
@3:24..30 CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
||||
@3:24..25 CONST Int type=kotlin.Int value=1
|
||||
@3:29..30 CONST Int type=kotlin.Int value=1
|
||||
|
||||
Reference in New Issue
Block a user