Skip to content

[lldb] Add type summary for String.Index (#5515) #6262

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

Conversation

kastiglione
Copy link

Implement a type summary for Swift's String.Index.

The summary string follows the following:

  1. Original proposal: https://forums.swift.org/t/improving-string-index-s-printed-descriptions/57027
  2. Proposed implementation: [DRAFT][stdlib] String.Index: Add custom printing swift#58479
  3. Temporary(ish) near-CustomStringConvertible implementation: [stdlib] String.Index: Add _description & _debugDescription swift#61548

The associated test cases are taken from the test cases in swiftlang/swift#58479.

rdar://99211823
(cherry picked from commit c7146a3)

Implement a type summary for Swift's `String.Index`.

The summary string follows the following:
1. Original proposal: https://forums.swift.org/t/improving-string-index-s-printed-descriptions/57027
2. Proposed implementation: swiftlang/swift#58479
3. Temporary(ish) near-`CustomStringConvertible` implementation: swiftlang/swift#61548

The associated test cases are taken from the test cases in swiftlang/swift#58479.

rdar://99211823
(cherry picked from commit c7146a3)
@kastiglione kastiglione merged commit 21b0c97 into stable/20221013 Feb 9, 2023
@kastiglione kastiglione deleted the lldb-Add-type-summary-for-String.Index-5515 branch February 9, 2023 21:04
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.

1 participant