Skip to content

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented May 14, 2024

@artemcm artemcm requested review from owenv and nkcsgexi May 14, 2024 16:19
}

@_spi(Testing) public struct ScannerDiagnosticPayload {
@_spi(Testing) public struct SourceLocation : DiagnosticLocation {
Copy link
Contributor

@owenv owenv May 14, 2024

Choose a reason for hiding this comment

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

Can we promote this type + its members to API so clients can attempt to cast to it / access the fields without parsing the textual representation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Of course. Done.

…nner and emit diagnostics with them

- Adopt new libSwiftScan API to get source location for each emitted diagnostic: buffer identifier, line number, column number.
@artemcm artemcm force-pushed the DepScanSourceLocs branch from f4e1328 to de435b9 Compare May 14, 2024 16:50
@artemcm
Copy link
Contributor Author

artemcm commented May 14, 2024

@swift-ci test

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