| // |
| // Source |
| // ------------------------------------------ |
| |
| import androidx.compose.runtime.Composable |
| import androidx.compose.runtime.NonRestartableComposable |
| |
| |
| @NonRestartableComposable |
| @Composable |
| fun Bar() { |
| HasDefault() |
| NoDefault("Some Text") |
| MultipleDefault() |
| } |
| |
| // |
| // Transformed IR |
| // ------------------------------------------ |
| |
| @NonRestartableComposable |
| @Composable |
| fun Bar(%composer: Composer?, %changed: Int) { |
| sourceInformationMarkerStart(%composer, <>, "C(Bar)<HasDef...>,<NoDefa...>,<Multip...>:Test.kt") |
| if (isTraceInProgress()) { |
| traceEventStart(<>, %changed, -1, <>) |
| } |
| HasDefault(null, %composer, 0b00110000, 0b0001) |
| NoDefault("Some Text", %composer, 0b00110110) |
| MultipleDefault(null, 0, %composer, 0b000110000000, 0b0011) |
| if (isTraceInProgress()) { |
| traceEventEnd() |
| } |
| sourceInformationMarkerEnd(%composer) |
| } |