IR: descriptor-less rendering of IR elements (work in progress)
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
FILE fqName:<root> fileName:/badBreakContinue.kt
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
ERROR_EXPR 'Loop not found for break expression: break' type=kotlin.Nothing
|
||||
ERROR_EXPR 'Loop not found for continue expression: continue' type=kotlin.Nothing
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHILE label=L1 origin=WHILE_LOOP
|
||||
condition: CONST Boolean type=kotlin.Boolean value=true
|
||||
body: BLOCK type=kotlin.Unit 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 name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHILE label=L1 origin=WHILE_LOOP
|
||||
condition: CONST Boolean type=kotlin.Boolean value=true
|
||||
body: BLOCK type=kotlin.Unit origin=null
|
||||
VAR name:lambda type:kotlin.Function0<kotlin.Nothing> flags:[val]
|
||||
VAR name:lambda type:kotlin.Function0<kotlin.Nothing> [val]
|
||||
BLOCK type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType: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
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUN name:test4 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
FUNCTION_REFERENCE 'local final fun <anonymous> (): kotlin.Nothing declared in <root>.test3' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUN name:test4 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHILE label=null origin=WHILE_LOOP
|
||||
condition: ERROR_EXPR 'Loop not found for break expression: break' type=kotlin.Nothing
|
||||
|
||||
Reference in New Issue
Block a user