[IR] Don't store descriptor in IR function to allow lazy initialization

This commit is contained in:
Mikhail Glukhikh
2020-06-01 12:09:21 +03:00
parent de2980e9e5
commit dc660e72e5
@@ -127,7 +127,7 @@ class IrFunctionImpl(
IrSimpleFunctionSymbolImpl(descriptor), returnType, descriptor
)
override val descriptor: FunctionDescriptor = symbol.descriptor
override val descriptor: FunctionDescriptor get() = symbol.descriptor
init {
symbol.bind(this)