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.
10 lines
880 B
Plaintext
Vendored
10 lines
880 B
Plaintext
Vendored
FILE fqName:<root> fileName:/SameJavaFieldReferences.kt
|
|
FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
|
BLOCK_BODY
|
|
VAR name:ref1 type:kotlin.reflect.KProperty0<kotlin.String> [val]
|
|
PROPERTY_REFERENCE 'public final someJavaField: kotlin.String' field='FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:someJavaField type:kotlin.String visibility:public [final,static]' getter=null setter=null type=kotlin.reflect.KProperty0<kotlin.String> origin=null
|
|
<1>: <none>
|
|
VAR name:ref2 type:kotlin.reflect.KProperty0<kotlin.String> [val]
|
|
PROPERTY_REFERENCE 'public final someJavaField: kotlin.String' field='FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:someJavaField type:kotlin.String visibility:public [final,static]' getter=null setter=null type=kotlin.reflect.KProperty0<kotlin.String> origin=null
|
|
<1>: <none>
|