Ahmed Mourad

    Ahmed Mourad

    1 year ago
    Hey everyone! So I have a
    SimpleFunctionDescriptor
    , obtained from:
    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?
    raulraja

    raulraja

    1 year ago
    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.