Skip to content

Conversation

@PortalPete
Copy link

The po alias now matches the behavior of the expression command when the it can apply a Fix-It to an expression.
Modifications

  • Add has m_fixed_expression to the CommandObjectDWIMPrint class a protected member that stores the post Fix-It expression, just like the CommandObjectExpression class.
  • Converted messages to present tense.
  • Add test cases that confirms a Fix-It for a C++ expression for both po and expressions

rdar://115317419
(cherry picked from commit 8e2bd05)

The `po` alias now matches the behavior of the `expression` command when
the it can apply a Fix-It to an expression.
Modifications

- Add has `m_fixed_expression` to the `CommandObjectDWIMPrint` class a
`protected` member that stores the post Fix-It expression, just like the
`CommandObjectExpression` class.
- Converted messages to present tense.
- Add test cases that confirms a Fix-It for a C++ expression for both
`po` and `expressions`

rdar://115317419
(cherry picked from commit 8e2bd05)
@PortalPete
Copy link
Author

@swift-ci test

@PortalPete PortalPete merged commit aac9d90 into swiftlang:stable/20230725 Oct 17, 2023
@PortalPete PortalPete deleted the 115317419 branch December 21, 2023 01:09
@PortalPete PortalPete restored the 115317419 branch February 6, 2024 01:24
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