[FIR] Render error properties and function in FirRenderer

This commit is contained in:
Kirill Rakhman
2023-04-27 15:29:36 +02:00
committed by Space Team
parent 5beec6b543
commit 4c6b6dd700
4 changed files with 14 additions and 2 deletions
@@ -319,6 +319,16 @@ class FirRenderer(
propertyAccessorRenderer?.render(property)
}
override fun visitErrorProperty(errorProperty: FirErrorProperty) {
print("<ERROR PROPERTY: ${errorProperty.diagnostic.reason}>")
printer.newLine()
}
override fun visitErrorFunction(errorFunction: FirErrorFunction) {
print("<ERROR FUNCTION: ${errorFunction.diagnostic.reason}>")
printer.newLine()
}
override fun visitBackingField(backingField: FirBackingField) {
modifierRenderer?.renderModifiers(backingField)
print("<explicit backing field>: ")