FIR: support fake overrides for properties

This commit is contained in:
Mikhail Glukhikh
2019-08-30 13:27:10 +03:00
parent 5741ff5d86
commit 687db20029
11 changed files with 174 additions and 59 deletions
@@ -77,7 +77,7 @@ FILE fqName:<root> fileName:/thisOfGenericOuterClass.kt
PROPERTY name:xx visibility:public modality:FINAL [val]
FIELD PROPERTY_BACKING_FIELD name:xx type:IrErrorType visibility:private [final]
EXPRESSION_BODY
ERROR_CALL 'Unresolved reference: <Inapplicable(WRONG_RECEIVER): [kotlin/plus]>#' type=IrErrorType
ERROR_CALL 'Unresolved reference: <Ambiguity: plus, [kotlin/Int.plus, kotlin/Int.plus, kotlin/Int.plus, kotlin/Int.plus, kotlin/Int.plus, kotlin/Int.plus]>#' type=IrErrorType
ERROR_CALL 'Unresolved reference: <Unresolved name: y>#' type=IrErrorType
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-xx> visibility:public modality:FINAL <> ($this:<root>.test.<no name provided>) returnType:IrErrorType
correspondingProperty: PROPERTY name:xx visibility:public modality:FINAL [val]