Skip to content

Conversation

@bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Apr 1, 2021

use-swift-source-info.swift is checking that the .swiftsourceinfo file
is being used when OptimizedForIDE is false by checking the location
output from a cursor info request.

It also checks that the module name is there, which it should be the
result is in a different file. There was previously a bug where it
wasn't added when a location was added (which was valid before
.swiftsourceinfo was used). The test has always worked since it was
modified in the fix to that bug, but some weirdness caused the change
and test to be out of sync (possibly the result of merges between main
and next branches).

The new line is the language, which was added after it was disabled (and
hence missed being updated).

use-swift-source-info.swift is checking that the .swiftsourceinfo file
is being used when OptimizedForIDE is false by checking the location
output from a cursor info request.

It also checks that the module name is there, which it should be the
result is in a different file. There was previously a bug where it
*wasn't* added when a location was added (which was valid before
.swiftsourceinfo was used). The test has always worked since it was
modified in the fix to that bug, but some weirdness caused the change
and test to be out of sync (possibly the result of merges between main
and next branches).

The new line is the language, which was added after it was disabled (and
hence missed being updated).
@bnbarham bnbarham requested review from nathawes and rintaro April 1, 2021 02:56
@bnbarham
Copy link
Contributor Author

bnbarham commented Apr 1, 2021

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Apr 1, 2021

Build failed
Swift Test Linux Platform
Git Sha - 02f27c0

@bnbarham
Copy link
Contributor Author

bnbarham commented Apr 1, 2021

@swift-ci please clean test Linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Apr 1, 2021

Build failed
Swift Test OS X Platform
Git Sha - 02f27c0

@bnbarham
Copy link
Contributor Author

bnbarham commented Apr 1, 2021

@swift-ci please test macOS platform

@bnbarham bnbarham merged commit 8bb3ab0 into swiftlang:main Apr 2, 2021
@bnbarham bnbarham deleted the enable-passing-test branch April 2, 2021 04:37
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