PureSwift / Bluetooth

Pure Swift Bluetooth library
http://pureswift.github.io/Bluetooth/
MIT License
174 stars 24 forks source link

Fix swift 5.4 issues with allCases #137

Closed ksinghal closed 3 years ago

ksinghal commented 3 years ago

Issue

Fixes #136.

What does this PR Do?

Fix swift 5.4 issues with allCases by replacing sets with array, fix associated tests.

see here for more details on this as the preferred solution: https://forums.swift.org/t/invalid-redeclaration-of-synthesized-implementation-for-protocol-requirement-allcases/47715/3

Where should the reviewer start?

All enums affected

Sweet giphy showing how you feel about this PR

Giphy