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
xAlien95
(Stefano De Carolis)
3
2 Likes