Skip to content

[Tests] Do not ignore swiftsourceinfo by default in lit tests #37029

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
Apr 27, 2021

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Apr 23, 2021

This was added as a default in b103997,
with the reasoning that users do not have .swiftsourceinfo for the
stdlib. A later change (51d6243) then
avoids emitting .swiftsourceinfo for the stdlib at all, making this no longer an issue.

The compiler does use .swiftsourceinfo for user-built modules, so reading them by
default seems reasonable (with the option to disable them in the cases where that
causes an issue).

This was added as a default in b103997,
with the reasoning that users do not have .swiftsourceinfo for the
stdlib. A later change (51d6243) then
avoids emitting .swiftsourceinfo for the stdlib at all, so this is no
longer an issue.
@bnbarham
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@rintaro rintaro left a comment

Choose a reason for hiding this comment

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

I'm all for this.

@bnbarham
Copy link
Contributor Author

@beccadax are you okay with this one?

Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

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

Thank you!

@bnbarham bnbarham merged commit c8c2fd5 into swiftlang:main Apr 27, 2021
@bnbarham bnbarham deleted the read-swiftsourceinfo branch April 27, 2021 20:17
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