-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Diagnostics] Add tests to check diagnostic locations across modules #37032
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
Conversation
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
Windows backslashes strike again @swift-ci please test |
Build failed |
CI workspaces can have |
@swift-ci please test |
Tests passes, but noticed that I had a copy paste error in loc-directive-diagnostics.swift (had extra args in the frontend invocation). Will just run a smoketest now. @swift-ci please smoke test |
Windows test is an out of space, passed before removing the args from loc-directive-diagnostics.swift so I'm just going to merge. |
NFC: There's some #sourceLocation tests for pretty-printed diagnostics, but no basic one. Added a simple
loc-directive-diagnostics.swift
for that.multi-module-diagnostics.swift
checks both the interaction with .swiftsourceinfo and #sourceLocation.