Skip to content

[Parse] Adjust diagnostic location for platform condition arguments #72384

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

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Mar 18, 2024

Previously, diagnostics for arguments of platform conditions (e.g. 'os(macOS)') used to point the condition name position instead of the argument position.
Adjust the position to the start of the argument.

rdar://124160048

@rintaro
Copy link
Member Author

rintaro commented Mar 18, 2024

@swift-ci Please smoke test

Previously, diagnostics for arguments of platform conditions (e.g.
'os(macOS)') used to point the condition name position instead of the
argument position.
Adjust the position to the start of the argument.

rdar://124160048
@rintaro rintaro force-pushed the parse-ifconfig-argdiag-rdar124160048 branch from 16a509e to 4737212 Compare March 18, 2024 14:23
@rintaro
Copy link
Member Author

rintaro commented Mar 18, 2024

@swift-ci Please smoke 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.

4 participants