IrOperator -> IrStatementOrigin

This commit is contained in:
Dmitry Petrov
2016-09-14 11:25:16 +03:00
committed by Dmitry Petrov
parent 5386d27284
commit a8a6477ce5
150 changed files with 2234 additions and 2297 deletions
+10 -10
View File
@@ -5,28 +5,28 @@ FILE /badBreakContinue.kt
ERROR_EXPR 'Loop not found for continue expression: continue' type=kotlin.Nothing
FUN public fun test2(): kotlin.Unit
BLOCK_BODY
WHILE label=L1 operator=WHILE_LOOP
WHILE label=L1 origin=WHILE_LOOP
condition: CONST Boolean type=kotlin.Boolean value='true'
body: BLOCK type=kotlin.Nothing operator=null
body: BLOCK type=kotlin.Nothing origin=null
ERROR_EXPR 'Loop not found for break expression: break@ERROR' type=kotlin.Nothing
ERROR_EXPR 'Loop not found for continue expression: continue@ERROR' type=kotlin.Nothing
FUN public fun test3(): kotlin.Unit
BLOCK_BODY
WHILE label=L1 operator=WHILE_LOOP
WHILE label=L1 origin=WHILE_LOOP
condition: CONST Boolean type=kotlin.Boolean value='true'
body: BLOCK type=kotlin.Unit operator=null
body: BLOCK type=kotlin.Unit origin=null
VAR val lambda: () -> kotlin.Nothing
BLOCK type=() -> kotlin.Nothing operator=LAMBDA
BLOCK type=() -> kotlin.Nothing origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Nothing
BLOCK_BODY
ERROR_EXPR 'Loop not found for break expression: break@L1' type=kotlin.Nothing
ERROR_EXPR 'Loop not found for continue expression: continue@L1' type=kotlin.Nothing
CALLABLE_REFERENCE '<anonymous>(): Nothing' type=() -> kotlin.Nothing operator=LAMBDA
CALLABLE_REFERENCE '<anonymous>(): Nothing' type=() -> kotlin.Nothing origin=LAMBDA
FUN public fun test4(): kotlin.Unit
BLOCK_BODY
WHILE label=null operator=WHILE_LOOP
WHILE label=null origin=WHILE_LOOP
condition: ERROR_EXPR 'Loop not found for break expression: break' type=kotlin.Nothing
body: BLOCK type=kotlin.Unit operator=null
WHILE label=null operator=WHILE_LOOP
body: BLOCK type=kotlin.Unit origin=null
WHILE label=null origin=WHILE_LOOP
condition: ERROR_EXPR 'Loop not found for continue expression: continue' type=kotlin.Nothing
body: BLOCK type=kotlin.Unit operator=null
body: BLOCK type=kotlin.Unit origin=null