Skip to content

Avoid implicitly linking RegexBuilder symbol #5204

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

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

jmschonfeld
Copy link
Contributor

Recently, FoundationEssentials began importing the RegexBuilder module. While it's an internal import, since we don't have the MemberImportVisibility feature flag enabled, this import affected overload resolution of this call to split. Eventually, we should enable that feature flag to avoid these types of issues, but for now we make the argument explicitly Character to pick the stdlib overload instead of the RegexBuilder overload to fix linking failures.

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

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.

3 participants