Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add missing import of Network module #804

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Jan 29, 2025

Motivation:

In #794, the new Swift compiler feature MemberImportVisibility was adopted. However, CI for this project does not test building the package with the nightly compiler on macOS, so it was missed that the project no longer builds on macOS with the nightly toolchain due to a missing import.

Modifications:

Add import Network in a file that needs it.

Result:

The package builds again with the nightly toolchain on macOS.

In swift-server#794, the new Swift
compiler feature `MemberImportVisibility` was adopted. However, CI for this
project does not test building the package with the nightly compiler on macOS,
so it was missed that the project no longer builds on macOS with the nightly
toolchain due to a missing import.
@tshortli
Copy link
Contributor Author

CC @rnro @Lukasa

@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jan 29, 2025
@glbrntt glbrntt merged commit 60fa3dc into swift-server:main Jan 29, 2025
21 of 23 checks passed
@tshortli tshortli deleted the fix-missing-network-import branch January 29, 2025 19:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants