Set proper origin for cascaded if expression

This commit is contained in:
Mikhael Bogdanov
2019-03-12 13:40:51 +01:00
parent 1040665471
commit 1e3277d0e6
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/ifElseIf.kt
VALUE_PARAMETER name:i index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='test(Int): Int'
WHEN type=kotlin.Int origin=WHEN
WHEN type=kotlin.Int origin=IF
BRANCH
if: CALL 'greater(Int, Int): Boolean' type=kotlin.Boolean origin=GT
arg0: GET_VAR 'value-parameter i: Int' type=kotlin.Int origin=null