Skip to content

try! error message should report the right location #19565

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 2 commits into from
Sep 27, 2018

Conversation

moiseev
Copy link
Contributor

@moiseev moiseev commented Sep 26, 2018

At the moment the location being reported is inside the standard
library, which is not very helpful. Instead, the location should point
at the try! expression in the application code.

Fixes: rdar://problem/21407683

At the moment the location being reported is inside the standard
library, which is not very helpful. Instead, the location should point
at the `try!` expression in the application code.

Fixes: rdar://problem/21407683
@moiseev moiseev force-pushed the try-bang-location-info branch from 75b6d91 to 7c7a976 Compare September 26, 2018 18:23
@moiseev
Copy link
Contributor Author

moiseev commented Sep 26, 2018

@swift-ci Please test

@moiseev moiseev requested a review from gottesmm September 26, 2018 18:26
Copy link
Contributor

@gottesmm gottesmm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 7c7a976

@moiseev
Copy link
Contributor Author

moiseev commented Sep 26, 2018

@swift-ci Please test macOS platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 7c7a976

@moiseev
Copy link
Contributor Author

moiseev commented Sep 26, 2018

@swift-ci Please clean smoke test macOS platform

@moiseev
Copy link
Contributor Author

moiseev commented Sep 27, 2018

@swift-ci Please clean test macOS platform

@moiseev moiseev merged commit b9b568b into swiftlang:master Sep 27, 2018
@moiseev moiseev deleted the try-bang-location-info branch September 27, 2018 16:13
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.

3 participants