Skip to content

Commit

Permalink
Revert "Added count and isEmpty properties to ContiguousBytes."
Browse files Browse the repository at this point in the history
This reverts commit 8ae54df.

It turns out this causes problems for ContiguousBytes types that already have an `isEmpty` property, "error: ambiguous use of 'isEmpty'".  Which makes sense but is disappointing - there doesn't seem to be any way to declare an extension that defers to other implementations if they already exist. 😔
  • Loading branch information
wadetregaskis committed Mar 3, 2024
1 parent 8ae54df commit 6a9b381
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
16 changes: 0 additions & 16 deletions Sources/FoundationExtensions/ContiguousBytes.swift

This file was deleted.

24 changes: 0 additions & 24 deletions Tests/FoundationExtensionsTests/ContiguousBytesTests.swift

This file was deleted.

0 comments on commit 6a9b381

Please sign in to comment.