https://kotlinlang.org logo
#arrow-meta
Title
# arrow-meta
a

Ahmed Mourad

02/17/2021, 6:53 PM
Hey everyone! So I have a
SimpleFunctionDescriptor
, obtained from:
Copy code
bindingContext.getSliceContents(BindingContext.FUNCTION)//.first()
I'm trying to get the body or the statements of this function, but I can't find the method to do so?
r

raulraja

02/18/2021, 9:49 AM
Hi @Ahmed Mourad, what are you trying to do with the body? for any body transformations most likely you need to be in the IR phase whose models have references to the IrBody.