Skip to content

Conversation

kastiglione
Copy link

In conjunction with swiftlang/swift#84677

rdar://161919005

In conjunction with swiftlang/swift#84677

rdar://161919005
@kastiglione
Copy link
Author

swiftlang/swift#84677

@swift-ci test

@kastiglione
Copy link
Author

swiftlang/swift#84677

@swift-ci test

@kastiglione
Copy link
Author

swiftlang/swift#84677

@swift-ci test

@kastiglione
Copy link
Author

swiftlang/swift#84677

@swift-ci test

@kastiglione
Copy link
Author

swiftlang/swift#84677

@swift-ci test macOS

self.expect("po cs", substrs=['CustomStringConvertible'], matching=False)
self.expect("po cs", substrs=['a', '12', 'b', '24'])
self.expect("script lldb.frame.FindVariable('cs').GetObjectDescription()", substrs=['a', '12', 'b', '24'])
self.expect("po cs", substrs=["abc", "12", "def", "24"], matching=False)

Choose a reason for hiding this comment

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

What does matching=False do?

Copy link
Author

@kastiglione kastiglione Oct 7, 2025

Choose a reason for hiding this comment

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

It tests that the substrings are not found in the output.

With the updated behavior in swiftlang/swift#84677, the properties (abc, def) should not be shown because the type conforms to CustomStringConvertible/CustomDebugStringConvertible.

@kastiglione
Copy link
Author

swiftlang/swift#84677

@swift-ci test macOS

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