Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Everyone's favorite bug but I bring a simple repro, so happy birthday!
Compose version: 1.7.4 Kotlin version: tried both 2.1.10 and 2.1.20
Steps to Reproduce or Code Sample to Reproduce:
Our actual use case is extremely complex but is a bit more like this:
The actual number comes from a unique ID. Some of the nesting inside of the return gets very deep and some cases call return, which seems to trigger the problem. I'm simulating it here where an even number triggers the early return (crashing) and an odd number doesn't (not crashing). I'm assuming it's the same issue as the simpler case, but I'm including both in case it's useful.
Stack trace (if applicable):