facebook / facebook/flow

Array destructuring and assignment

Đang mở
#3,073 5 bình luận 12 reaction 0 người được giao Xem trên GitHub
destructuring enhancement incompleteness
Ngôn ngữ chính
Rust
Star
22.3k
Fork
1.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello,

I found an issue with the array destructuring assigment (I checked and I didn't find it in the list):
`[res[i], res[j]] = [res[j], res[i]];`

returns

> unsupported expression pattern in destructuring: /home/...

Thanks for your amazing work by the way :)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.