Files
swift-collections/Sources/HashTreeCollections
Karoy Lorentey 00ffe8caec [HashTreeCollections] Avoid parsing issue with func read
When the BorrowAndMutateAccessors feature is enabled, this code appears to be parsed as if it declared a `read` accessor, rather than a getter passing a closure to the `read` function:

```swift
@inlinable
  internal var collisionHash: _Hash {
    read { $0.collisionHash }
  }
```

Avoid this by adding a `self` prefix, as in `self.read { $0.collisionHash }`.
2026-07-07 14:18:09 -07:00
..