Hello, Swift community!
The first review of SE-0440: DebugDescription Macro ran through July 16th, 2024; the LSG decided to return the proposal for revision to address three issues:
- The macro as implemented did not work with generic types or protocols; this was not documented in the proposal, nor was a diagnostic generated for these cases.
- The LSG thought it best if
${
did not require escaping such that the Swift property and the lldb summary always print exactly the same thing. _debugDescription
should not be an underscored property. It incorrectly suggests that this is an implementation detail, rather than a user-facing feature for lldb interoperability. We suggested the namelldbDescription
instead.
The author has incorporated this feedback into the implementation and proposal text, and we will have a focused re-review for these changes run from now until July 30th.
Reviews are an important part of the Swift evolution process. All review feedback should be either on this forum thread or, if you would like to keep your feedback private, directly to me as the review manager by email or DM. When contacting the review manager directly, please put "SE-0440" in the subject line.
What goes into a review?
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of Swift. When writing your review, here are some questions you might want to answer in your review:
What is your evaluation of the proposal?
Is the problem being addressed significant enough to warrant a change to Swift?
Does this proposal fit well with the feel and direction of Swift?
If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
More information about the Swift evolution process is available here .
Thank you,
Steve Canon
Review Manager