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.
15 lines
1.1 KiB
Plaintext
Vendored
15 lines
1.1 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/catchParameterAccess.kt
|
|
FUN name:test visibility:public modality:FINAL <> (f:kotlin.Function0<kotlin.Unit>) returnType:kotlin.Unit
|
|
VALUE_PARAMETER name:f index:0 type:kotlin.Function0<kotlin.Unit>
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun test (f: kotlin.Function0<kotlin.Unit>): kotlin.Unit declared in <root>'
|
|
TRY type=kotlin.Unit
|
|
try: BLOCK type=kotlin.Unit origin=null
|
|
CALL 'public abstract fun invoke (): R of kotlin.Function0 declared in kotlin.Function0' type=kotlin.Unit origin=INVOKE
|
|
$this: GET_VAR 'f: kotlin.Function0<kotlin.Unit> declared in <root>.test' type=kotlin.Function0<kotlin.Unit> origin=VARIABLE_AS_FUNCTION
|
|
CATCH parameter=val e: java.lang.Exception{ kotlin.Exception } declared in <root>.test
|
|
VAR CATCH_PARAMETER name:e type:java.lang.Exception{ kotlin.Exception } [val]
|
|
BLOCK type=kotlin.Nothing origin=null
|
|
THROW type=kotlin.Nothing
|
|
GET_VAR 'val e: java.lang.Exception{ kotlin.Exception } declared in <root>.test' type=java.lang.Exception{ kotlin.Exception } origin=null
|