[FE, PSI2IR] Pass context receivers when calling typealias constructor
This commit is contained in:
committed by
TeamCityServer
parent
fb99df235e
commit
bd4e51f304
+2
-2
@@ -311,9 +311,9 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements ClassDes
|
||||
.map(typeReference -> {
|
||||
KotlinType kotlinType =
|
||||
c.getTypeResolver().resolveType(getScopeForClassHeaderResolution(), typeReference, c.getTrace(), true);
|
||||
return new ReceiverParameterDescriptorImpl(
|
||||
return DescriptorFactory.createContextReceiverParameterForClass(
|
||||
this,
|
||||
new ContextClassReceiver(this, kotlinType, null),
|
||||
kotlinType,
|
||||
Annotations.Companion.getEMPTY()
|
||||
);
|
||||
}).collect(Collectors.toList());
|
||||
|
||||
Reference in New Issue
Block a user