Skip to content

Adds file and line context to more error functions. #168

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
merged 1 commit into from
Dec 22, 2015
Merged

Adds file and line context to more error functions. #168

merged 1 commit into from
Dec 22, 2015

Conversation

brownleej
Copy link

This allows these error functions to report the failure as being at the call site, which will make it easier to debug errors caused by trying to call unimplemented methods.

@phausler
Copy link
Contributor

This seems reasonable as a behavioral differential; we are already divergent a bit from the darwin version on these but giving the line number seems quite reasonable to me to help aide identifying failures in CI etc.

phausler added a commit that referenced this pull request Dec 22, 2015
Adds file and line context to more error functions.
@phausler phausler merged commit 31bf0d6 into swiftlang:master Dec 22, 2015
@brownleej brownleej deleted the not-implemented-context branch February 4, 2016 00:46
atrick pushed a commit to atrick/swift-corelibs-foundation that referenced this pull request Jan 12, 2021
Make DocumentSymbol fields public
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