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)
Attachment actions
Unintended behavior
View staffing
Description
Android Studio Build:
4.2.0-alpha01
6.5-rc-1
Steps to Reproduce: try using a function reference instead of a lambda expression to satisfy a
@Composable
function type.ListifyLambda()
andListifyFnRef()
should be equivalent. However, onlyListifyLambda()
compiles, when usingdev13
.ListifyFnRef()
fails to compile with:Normally, Kotlin transforms those automatically, and it still does when they are not
@Composable
.The attached project contains the above code snippet, though
ListifyFnRef()
is commented out, so you can see thatListifyLambda()
works.Thanks for considering this!