Allow spreading into custom type and using capture at the same time #3106
inoas
started this conversation in
Ideas & suggestions
Replies: 2 comments
-
The function capture syntax syntax only works with function calls, and the record update syntax is not a function call. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It is nonetheless quite unexpected, i'd expect the record update to happen first, and then the capture injected. Both work on their own but not together is what confuses me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can write this:
but not this:
... is there a reason for this?
Beta Was this translation helpful? Give feedback.
All reactions