-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destructuring not recognized #75
Comments
bump, do we need a pass in the macro to transform this into a bunch of getproperty? |
Yeah, that'd be a reasonable approach. Want to take a stab at it? |
Lines 18 to 30 in f49a308
can handle julia> y = (1,2);
julia> @batch for i in 1:2
(a, b) = y
end so it should be straightforward to adapt to support Although preprocessing this into |
where even is this signature defined
|
also this doesn't quite work, this logic assumes each element in but when |
That method does not exist. That is a bug. |
Hi,
I've encountered a case where Polyester.jl does not know how to handle the destructuring syntax introduced in Julia 1.7:
The
@batch
loop returnsThe text was updated successfully, but these errors were encountered: