Files
kotlin-fork/compiler/testData/ir/irText/expressions/whenElse.txt
T
2017-05-04 09:33:03 +03:00

10 lines
298 B
Plaintext
Vendored

FILE /whenElse.kt
FUN public fun test(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from='test(): Int'
WHEN type=kotlin.Int origin=WHEN
BRANCH
if: CONST Boolean type=kotlin.Boolean value='true'
then: CONST Int type=kotlin.Int value='42'