Skip to content

Drop always-true swift(>=6.0) preview guards - #24

Merged
Jeehut merged 1 commit into
mainfrom
wip/drop-always-true-swift-guards
Nov 19, 2026
Merged

Jeehut merged 1 commit into
mainfrom
wip/drop-always-true-swift-guards

Conversation

@Jeehut

@Jeehut Jeehut commented Oct 27, 2026

Copy link
Copy Markdown
Member

Summary

The package needs Swift tools 6.2, so swift(>=6.0) is always true. This removes it from the preview guards in five files.

-#if DEBUG && swift(>=6.0)
+#if DEBUG

AsyncButton keeps its !os(watchOS) check.

Evidence

  • swift build: succeeds
  • swift test: 37 of 37 tests pass (macOS)

Merge Danger

Door: two-way

Only preview code inside #if DEBUG changes. Release builds compile the same code as before.

Blast Radius: none

@Jeehut
Jeehut merged commit 96a3ec6 into main Nov 19, 2026
5 checks passed
@Jeehut
Jeehut deleted the wip/drop-always-true-swift-guards branch November 19, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant