//
// Source
// ------------------------------------------

import androidx.compose.runtime.*

@Composable
fun Wrapper(child: @Composable () -> Unit) {
    child()
}

@Composable
fun Foo() {
    var state by remember { mutableStateOf(0) }
    Wrapper {
        println("$state")
    }
}


//
// Transformed IR
// ------------------------------------------

TestKt {
    Wrapper (Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V null
    Foo (Landroidx/compose/runtime/Composer;I)V null
    Wrapper$lambda$0 (Lkotlin/jvm/functions/Function2;ILandroidx/compose/runtime/Composer;I)Lkotlin/Unit; null
    Foo$lambda$1 (Landroidx/compose/runtime/MutableState;)I null
    Foo$lambda$2 (Landroidx/compose/runtime/MutableState;I)V null
    Foo$lambda$3 (Landroidx/compose/runtime/MutableState;Landroidx/compose/runtime/Composer;I)Lkotlin/Unit; null
    Foo$lambda$4 (ILandroidx/compose/runtime/Composer;I)Lkotlin/Unit; null
}
