[FIR] Add nonFatalDiagnostics to FirQualifierAccess
This commit is contained in:
+3
-1
@@ -168,7 +168,9 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
|
||||
default("origin", "FirFunctionCallOrigin.Operator")
|
||||
}
|
||||
|
||||
impl(qualifiedAccessExpression)
|
||||
impl(qualifiedAccessExpression) {
|
||||
publicImplementation()
|
||||
}
|
||||
|
||||
noImpl(expressionWithSmartcast)
|
||||
noImpl(expressionWithSmartcastToNull)
|
||||
|
||||
+4
@@ -192,6 +192,10 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
|
||||
+field("source", sourceElementType, nullable = true, withReplace = true)
|
||||
}
|
||||
|
||||
qualifiedAccessExpression.configure {
|
||||
+fieldList("nonFatalDiagnostics", coneDiagnosticType)
|
||||
}
|
||||
|
||||
constExpression.configure {
|
||||
withArg("T")
|
||||
+field("kind", constKindType.withArgs("T"), withReplace = true)
|
||||
|
||||
Reference in New Issue
Block a user