[FIR] Don't set source of inferred type from expected type
This commit is contained in:
committed by
teamcity
parent
e1fd184d14
commit
40b13898bd
-3
@@ -1068,9 +1068,6 @@ open class FirDeclarationsResolveTransformer(transformer: FirBodyResolveTransfor
|
||||
buildResolvedTypeRef {
|
||||
type = this@toExpectedTypeRef.coneType
|
||||
annotations.addAll(this@toExpectedTypeRef.annotations)
|
||||
this@toExpectedTypeRef.source?.fakeElement(KtFakeSourceElementKind.PropertyFromParameter)?.let {
|
||||
source = it
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user