Skip to content

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.

2 participants