-
Notifications
You must be signed in to change notification settings - Fork 58
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
Diagnostics including :
in message are not parsed correctly
#1312
Comments
Thanks for reporting this! It seems like the diagnostics that we get from On Windows it seems like this issue is especially noticeable since the diagnostics from SourceKit-LSP are currently broken for 6.0.3 (this has been fixed, but a new version of the toolchain will be required, as mentioned in #1226). The diagnostics from SourceKit-LSP seem to be showing up correctly on Mac and Linux but looks like the incomplete diagnostics from |
Display the full diagnostic message instead of stopping at backslashes or square brackets and update the diagnostics test case to check for this. Issue: swiftlang#1312
* Show swiftc diagnostics with square brackets Display the full diagnostic message instead of stopping at backslashes or square brackets and update the diagnostics test case to check for this. Issue: #1312 * Remove [-Wcode] warnings from swiftc diagnostics Remove any additional [-Wcode] warnings that swiftc adds to messages to allow for merging diagnostics with SourceKit.
Verified 109919e |
Describe the bug
Diagnostics including
:
in message are not parsed correctly. They assume the:
indicate the end of the messageTo Reproduce
Steps to reproduce the behavior:
let dictionary: [String: String] = []
to a swift projectExpected behavior
Should see error "use [:] to get an empty dictionary literal"
The text was updated successfully, but these errors were encountered: