[FIR] Use correct source for implicit this receiver
#KT-57489 Fixed #KT-56139 Fixed #KT-56755 Fixed
This commit is contained in:
+1
@@ -257,6 +257,7 @@ object BuilderConfigurator : AbstractBuilderConfigurator<FirTreeBuilder>(FirTree
|
||||
builder(thisReceiverExpression) {
|
||||
parents += qualifiedAccessExpressionBuilder
|
||||
default("isImplicit", "false")
|
||||
withCopy()
|
||||
}
|
||||
|
||||
builder(thisReference, "FirExplicitThisReference") {
|
||||
|
||||
+1
-1
@@ -562,7 +562,7 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
|
||||
|
||||
smartCastExpression.configure {
|
||||
+typeRefField
|
||||
+field("originalExpression", expression).withTransform()
|
||||
+field("originalExpression", expression, withReplace = true).withTransform()
|
||||
+field("typesFromSmartCast", "Collection<ConeKotlinType>", null, customType = coneKotlinTypeType)
|
||||
+field("smartcastType", typeRef)
|
||||
+field("smartcastTypeWithoutNullableNothing", typeRef, nullable = true)
|
||||
|
||||
Reference in New Issue
Block a user