-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Swift version check #63
Conversation
Missed this in 67f4563.
WalkthroughThe changes involve the removal of conditional compilation directives related to Swift version checks in the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (1)
Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift (1)
Line range hint
1-3
: LGTM: TODO comment provides valuable context.The TODO comment explains the use of "@unchecked Sendable" and references an external issue. This information is crucial for future maintenance.
Would you like me to create a GitHub issue to track the removal of "@unchecked Sendable" once the referenced issue is resolved?
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift (1 hunks)
Additional comments not posted (3)
Sources/AblyChat/AblyCocoaExtensions/Ably+Dependencies.swift (3)
5-6
: LGTM: Explanatory comment provides crucial context.The comment explains the use of the @retroactive attribute, addressing potential Swift 6 compiler issues. It's valuable for understanding the code decisions made.
8-10
: LGTM: Extensions correctly implemented and Swift version checks removed.The ARTRealtimeChannels and ARTRealtimeChannel extensions are correctly implemented with the necessary protocol conformances and attributes. The removal of Swift version checks aligns with the PR objective.
Let's verify that all Swift version checks related to these extensions have been removed:
#!/bin/bash # Description: Check for any remaining Swift version checks related to ARTRealtimeChannels and ARTRealtimeChannel extensions # Test: Search for Swift version checks. Expect: No results. rg --type swift '#if\s+swift\([<>=]+\d+(\.\d+)?\).*ARTRealtimeChannels' rg --type swift '#if\s+swift\([<>=]+\d+(\.\d+)?\).*ARTRealtimeChannel'
6-6
: LGTM: Extension correctly implemented and Swift version checks removed.The ARTRealtime extension is correctly implemented with the necessary protocol conformance and attributes. The removal of Swift version checks aligns with the PR objective.
Let's verify that all Swift version checks related to this extension have been removed:
Missed this in 67f4563.
Summary by CodeRabbit
New Features
ARTRealtime
,ARTRealtimeChannels
, andARTRealtimeChannel
, enhancing compatibility across Swift versions.Refactor