//
// 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
    Foo$lambda$1 (Landroidx/compose/runtime/MutableState;)I null
    Foo$lambda$2 (Landroidx/compose/runtime/MutableState;I)V null
    access$Foo$lambda$1 (Landroidx/compose/runtime/MutableState;)I null
}

TestKt$Wrapper$1 {
    <init> (Lkotlin/jvm/functions/Function2;I)V null
    invoke (Landroidx/compose/runtime/Composer;I)V null
    invoke (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; null
}

TestKt$Foo$1 {
    <init> (Landroidx/compose/runtime/MutableState;)V null
    invoke (Landroidx/compose/runtime/Composer;I)V null
    invoke (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; null
}

TestKt$Foo$2 {
    <init> (I)V null
    invoke (Landroidx/compose/runtime/Composer;I)V null
    invoke (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; null
}
