What happened to _move(_:)?

error: 'move' can only be applied to lvalues
                return try body(_move(value))
error: '&' may only be used to pass an argument to inout parameter
                return try body(_move &value)
                                      ^

this was working fine in DEVELOPMENT-SNAPSHOT-2022-07-26-a

figured out the problem, for some reason the new _move just doesn’t like parentheses; this works:

return try body(_move value)

hope this helps someone

The change has been introduced with https://github.com/apple/swift/pull/60404.

2 Likes