apple / swift-collections

Commonly used data structures for Swift
Apache License 2.0
3.55k stars 270 forks source link

[BitArray] Disable bitwise operators for now #353

Closed lorentey closed 3 months ago

lorentey commented 3 months ago

The current family of operations is far too restrictive, and the generalization is a topic of ongoing investigation. In particular, the operator syntax seems unlikely to survive when we want to support operations over slices.

Don’t ship BitArray with API that we’ll potentially regret; instead, just leave these off for now.

Checklist

lorentey commented 3 months ago

(The macOS tests are expected to fail due to a CI issue. It does not indicate an issue with these changes.)

@swift-ci test