Ji Sungbin
11/21/2023, 1:54 PMIrSimpleFunction and IrFunction? I don’t know, except that IrSimpleFunction inherits from IrFunction and has more properties. I’m confused about whether to choose IrSimpleFunction or IrFunction.
I referenced Tóth István Zoltán’s answer from 3 months ago (thanks!),
it restricts the function type you visit tovisitSimpleFunction, it callsIrSimpleFunctionif not overridden so it is almost the same asvisitFunctionbut leaves out non-simple functions such as constructors.visitFunction
https://kotlinlang.slack.com/archives/C7L3JB43G/p1693196602086569?thread_ts=1693111695.756429&cid=C7L3JB43Gbut I still don’t understand what
IrSimpleFunction considers “simple”.dmitriy.novozhilov
11/21/2023, 2:04 PMJi Sungbin
11/21/2023, 2:10 PM