In Progress
Status Update
Comments
cm...@google.com <cm...@google.com>
ac...@google.com <ac...@google.com> #2
Hello there!
Thank you for the heads up this has been already reported internally.
no...@google.com <no...@google.com> #3
Hello,
The expected impact of this bug is considered low (it's a narrow edge case with no upvotes, and should be avoidable on the consumer side by trimming inputs). As a result, our engineering team has deprioritized the issue until there is evidence of further impact. I am going to mark this as Won't Fix to more accurately reflect this. Please re-open if the scope of the issue changes. Thanks!
Description
Live Edit crashes with an
InvocationTargetException
when using functions in a composable that return anything other thanUnit
, even though the app compiles and runs fine.Minimal example:
An actual use case for this would be using
scope.launch
, which returns aJob
:Stacktrace:
I tested this with a new project generated from the new project template:
This also happens when using the new compose gradle plugin: