-
Notifications
You must be signed in to change notification settings - Fork 60
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
Problems in Macros should show the original source line #1224
Labels
bug
Something isn't working
Comments
@NinjaLikesCheez thanks for the report! I think #1234 should address this issue. It will be shipped in the next release of the extension. |
verified with c047d4e |
You're amazing - thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a diagnostic is issued in a macro expansion, VSCode's 'problem' window will link to the
swift-generated-source
/expanded macro source file and not the source file where the problem happens.To Reproduce
Steps to reproduce the behavior:
#expect
macro totry
a non-throwing functionNo calls to throwing functions occur within 'try' expression
) will occur and clicking it will take you to the expanded macro sourceExpected behavior
When clicking the warning, I'd expect to be taken to the
original-source-range
where the issue occurred.Environment
Additional context
The text was updated successfully, but these errors were encountered: