| // |
| // Source |
| // ------------------------------------------ |
| |
| import androidx.compose.runtime.Composable |
| import androidx.compose.runtime.NonRestartableComposable |
| |
| |
| inline fun Bar(unused: @Composable () -> Unit = { }) {} |
| fun Foo() { Bar() } |
| |
| // |
| // Transformed IR |
| // ------------------------------------------ |
| |
| fun Bar(unused: Function2<Composer, Int, Unit> = { %composer: Composer?, %changed: Int -> |
| sourceInformationMarkerStart(%composer, <>, "C:Test.kt") |
| Unit |
| sourceInformationMarkerEnd(%composer) |
| } |
| ) { } |
| fun Foo() { |
| Bar() |
| } |