[Compiler plugins] Fix usage of descriptor API
This commit is contained in:
committed by
TeamCityServer
parent
1bcaeabd84
commit
3de1566f11
+2
@@ -43,6 +43,7 @@ fun ClassDescriptor.createFunction(
|
||||
methodDescriptor.initialize(
|
||||
null,
|
||||
receiver,
|
||||
emptyList(),
|
||||
typeParameters,
|
||||
paramDescriptors,
|
||||
returnType,
|
||||
@@ -66,6 +67,7 @@ fun ClassDescriptor.createJavaConstructor(
|
||||
constructor.initialize(
|
||||
null,
|
||||
constructor.calculateDispatchReceiverParameter(),
|
||||
emptyList(),
|
||||
this.declaredTypeParameters,
|
||||
paramDescriptors,
|
||||
this.defaultType,
|
||||
|
||||
Reference in New Issue
Block a user