Refactor IrWhen.

This commit is contained in:
Dmitry Petrov
2016-09-21 15:32:36 +03:00
parent aca71dea22
commit 8551bcf103
37 changed files with 700 additions and 554 deletions
+3 -1
View File
@@ -3,4 +3,6 @@ FILE /whenElse.kt
BLOCK_BODY
RETURN type=kotlin.Nothing from='test(): Int'
WHEN type=kotlin.Int origin=WHEN
else: CONST Int type=kotlin.Int value='42'
BRANCH
if: CONST Boolean type=kotlin.Boolean value='true'
then: CONST Int type=kotlin.Int value='42'