Support nullable callable references in FIR resolve

This commit is contained in:
Mikhail Glukhikh
2020-01-30 19:22:38 +03:00
parent a584589665
commit aeb6f35571
13 changed files with 34 additions and 20 deletions
@@ -323,7 +323,7 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
}
impl(resolvedQualifier) {
isMutable("packageFqName", "relativeClassFqName")
isMutable("packageFqName", "relativeClassFqName", "safe")
default("classId") {
value = """
|relativeClassFqName?.let {
@@ -435,6 +435,7 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
+field("packageFqName", fqNameType)
+field("relativeClassFqName", fqNameType, nullable = true)
+field("classId", classIdType, nullable = true)
+booleanField("safe")
+typeArguments.withTransform()
}