Skip to content

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

Open
Jeehut wants to merge 1 commit into
mainfrom
wip/drop-always-true-swift-guards
Open

Jeehut wants to merge 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

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