Skip to content

small cleanup after 7092 #7096

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
Nov 16, 2023
Merged

small cleanup after 7092 #7096

merged 2 commits into from
Nov 16, 2023

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Nov 14, 2023

motivation: do not use fatalError (which will crash the program) with no additional information

changes:

  • throw InternalError instead of fatalError
  • use correct version of AbsolutePath

motivation: do not use fatalError (which will crash the program) with no additional information

changes:
* throw InternalError instead of fatalError
* use correct version of AbsolutePath
@tomerd
Copy link
Contributor Author

tomerd commented Nov 14, 2023

@swift-ci test

@tomerd
Copy link
Contributor Author

tomerd commented Nov 15, 2023

@swift-ci test

@tomerd tomerd enabled auto-merge (squash) November 15, 2023 03:28
Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

IMO the error string should contain the path so that it's obvious to the user what exactly to fix. I should've highlighted it in the original PR.

@tomerd
Copy link
Contributor Author

tomerd commented Nov 15, 2023

@swift-ci test

@tomerd tomerd requested a review from MaxDesiatov November 15, 2023 18:25
@tomerd
Copy link
Contributor Author

tomerd commented Nov 16, 2023

@swift-ci test windows

@tomerd tomerd merged commit 8e318dc into swiftlang:main Nov 16, 2023
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