[JS IR] Implement new function references scheme

This commit is contained in:
Roman Artemev
2020-02-21 17:05:16 +03:00
committed by romanart
parent 2f087fe7a2
commit 26237f8bd5
12 changed files with 1097 additions and 532 deletions
@@ -105,6 +105,7 @@ inline fun IrProperty.addGetter(builder: IrFunctionBuilder.() -> Unit = {}): IrS
builder()
buildFun().also { getter ->
this@addGetter.getter = getter
getter.correspondingPropertySymbol = this@addGetter.symbol
getter.parent = this@addGetter.parent
}
}