PatilShreyas / compose-report-to-html

A utility (Gradle Plugin + CLI) to convert Jetpack Compose compiler metrics and reports to beautified HTML page.
https://patilshreyas.github.io/compose-report-to-html/
MIT License
398 stars 10 forks source link

Wrong function parameter in the report when function body contains polluted report #114

Closed PatilShreyas closed 3 months ago

PatilShreyas commented 3 months ago

When a report contains a function body having some polluted characters instead of the valid parameter description, it is generating a false parameter for the function in the report.

restartable fun LoadingText(
  stable modifier: Modifier? = @static Companion
  unstable stream: Flow<String>
  stable onLoaded: Function1<String, Unit>? = @static composer.startReplaceableGroup(249818752)
val tmp0_group = composer.cache(false) {
  {     it  :   String   ->

  }
}

Preview

image
PatilShreyas commented 3 months ago

Fixed and released in v1.4.0.