[IR] Unbind construction methods of IrFunctionImpl from symbol.descriptor

This commit is contained in:
Mikhail Glukhikh
2020-05-18 16:09:20 +03:00
parent a7d514a0a9
commit 262548fd5b
11 changed files with 83 additions and 71 deletions
@@ -252,7 +252,8 @@ interface IrBuilderExtension {
fieldSymbol.owner.endOffset,
SERIALIZABLE_PLUGIN_ORIGIN,
symbol,
descriptor.returnType!!.toIrType()
descriptor.returnType!!.toIrType(),
descriptor
).also { f ->
generateOverriddenFunctionSymbols(f, compilerContext.symbolTable)
f.createParameterDeclarations(receiver = null)