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.
12 lines
1.1 KiB
Plaintext
Vendored
12 lines
1.1 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/javaSyntheticProperty.kt
|
|
PROPERTY name:test visibility:public modality:FINAL [val]
|
|
FIELD PROPERTY_BACKING_FIELD name:test type:@[FlexibleNullability] kotlin.String? visibility:private [final,static]
|
|
EXPRESSION_BODY
|
|
CALL 'public open fun getFoo (): @[FlexibleNullability] kotlin.String? declared in <root>.J' type=@[FlexibleNullability] kotlin.String? origin=GET_PROPERTY
|
|
$this: CONSTRUCTOR_CALL 'public/*package*/ constructor <init> () declared in <root>.J' type=<root>.J origin=null
|
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> () returnType:@[FlexibleNullability] kotlin.String?
|
|
correspondingProperty: PROPERTY name:test visibility:public modality:FINAL [val]
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun <get-test> (): @[FlexibleNullability] kotlin.String? declared in <root>'
|
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test type:@[FlexibleNullability] kotlin.String? visibility:private [final,static]' type=@[FlexibleNullability] kotlin.String? origin=null
|