fd76a34277
This doesn't reduce the quality of tests, because the flags are still printed for declarations themselves. We only omit them in references. However, this makes the tests more compatible with non-JVM backends (see KT-58605), because flags of referenced stdlib declarations may differ among target platforms.
20 lines
1.6 KiB
Plaintext
Vendored
20 lines
1.6 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/kt47245.kt
|
|
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
|
BLOCK_BODY
|
|
BLOCK type=kotlin.Unit origin=FOR_LOOP
|
|
VAR FOR_LOOP_ITERATOR name:tmp_0 type:kotlin.collections.IntIterator [val]
|
|
CALL 'public open fun iterator (): kotlin.collections.IntIterator declared in kotlin.ranges.IntRange' type=kotlin.collections.IntIterator origin=FOR_LOOP_ITERATOR
|
|
$this: CALL 'public final fun rangeTo (other: kotlin.Int): kotlin.ranges.IntRange declared in kotlin.Int' type=kotlin.ranges.IntRange origin=RANGE
|
|
$this: CONST Int type=kotlin.Int value=0
|
|
other: CONST Int type=kotlin.Int value=0
|
|
WHILE label=null origin=FOR_LOOP_INNER_WHILE
|
|
condition: CALL 'public abstract fun hasNext (): kotlin.Boolean declared in kotlin.collections.IntIterator' type=kotlin.Boolean origin=FOR_LOOP_HAS_NEXT
|
|
$this: GET_VAR 'val tmp_0: kotlin.collections.IntIterator declared in <root>.test' type=kotlin.collections.IntIterator origin=null
|
|
body: BLOCK type=kotlin.Unit origin=FOR_LOOP_INNER_WHILE
|
|
VAR FOR_LOOP_VARIABLE name:i type:kotlin.Int [val]
|
|
CALL 'public final fun next (): kotlin.Int declared in kotlin.collections.IntIterator' type=kotlin.Int origin=FOR_LOOP_NEXT
|
|
$this: GET_VAR 'val tmp_0: kotlin.collections.IntIterator declared in <root>.test' type=kotlin.collections.IntIterator origin=null
|
|
BLOCK type=kotlin.Unit origin=null
|
|
FUN LOCAL_FUNCTION name:x visibility:local modality:FINAL <> () returnType:kotlin.Unit
|
|
BLOCK_BODY
|