Skip to content
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

[Sema] Don't clear ParsedUnrecognizedPlatformName when a recognized platform is parsed #76125

Merged

Conversation

ian-twilightcoder
Copy link
Contributor

The callers of parsePlatformVersionInList need to know if an unrecognized platform was parsed in the whole list. It can get cleared in the case of (unrecognized 1.0, *) but PlatformAndVersions will still be empty.

@ian-twilightcoder
Copy link
Contributor Author

Fixup for #76073 that I didn't think of until after it merged.

…latform is parsed

The callers of parsePlatformVersionInList need to know if an unrecognized platform was parsed in the whole list. It can get cleared in the case of (unrecognized 1.0, *) but PlatformAndVersions will still be empty.
@ian-twilightcoder
Copy link
Contributor Author

@swift-ci smoke test

@ian-twilightcoder ian-twilightcoder merged commit 543fd21 into swiftlang:main Aug 28, 2024
3 checks passed
@ian-twilightcoder ian-twilightcoder deleted the unknown-platform-attr branch September 9, 2024 23:21
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.

2 participants