You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposableFunctionBodyTransformer.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3081,7 +3081,7 @@ class ComposableFunctionBodyTransformer(
3081
3081
// ComposerParamTransformer should not allow for any null arguments on a composable
3082
3082
// invocation unless the parameter is vararg. If this is null here, we have
3083
3083
// missed something.
3084
-
error("Unexpected null argument for composable call")
3084
+
error("Unexpected null argument for composable call: ${expression.dump()}")
Copy file name to clipboardExpand all lines: plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/ComposerParamTransformer.kt
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -427,7 +427,7 @@ class ComposerParamTransformer(
427
427
if (argIndex < newFn.parameters.size) {
428
428
newCall.arguments[argIndex++] = irConst(0)
429
429
} else {
430
-
error("1. expected value parameter count to be higher: ${this.dumpSrc()}")
430
+
error("expected \$сhanged parameter at index $argIndex:\n${newFn.dumpSrc()}")
431
431
}
432
432
}
433
433
@@ -441,7 +441,7 @@ class ComposerParamTransformer(
0 commit comments