JuliaSIMD / JuliaSIMD/Polyester.jl
Destructuring not recognized
Open
bug
- Dominant language
- Julia
- Stars
- 285
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I've encountered a case where Polyester.jl does not know how to handle the destructuring syntax introduced in Julia 1.7:
```julia
using Polyester
struct A
a
b
end
x = A(1,2)
Threads.@threads for i in 1:2
(; a, b) = x
end
@batch for i in 1:2
(; a, b) = x
end
```
The `@batch` loop returns
```
ERROR: LoadError: "Don't know how to handle:\n \$(Expr(:parameters, :a, :b))"
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.