Skip to content
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

[SR-11597] Diff fails to work with simple generic container #54002

Closed
swift-ci opened this issue Oct 10, 2019 · 5 comments
Closed

[SR-11597] Diff fails to work with simple generic container #54002

swift-ci opened this issue Oct 10, 2019 · 5 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-11597
Radar None
Original Reporter jasonbobier (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

Xcode Version 11.1 (11A1027)

Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug
Assignee None
Priority Medium

md5: d33735ce3307c1f02639997120a28c43

Issue Description:

Please see the attached project. When run, it should print the diff between the two contained elements. Instead it shows 0 inserts and 0 removes.

@belkadan
Copy link
Contributor

Looks like your test case compares the argument to itself instead of comparing against self.

@swift-ci
Copy link
Collaborator Author

Comment by Jason Bobier (JIRA)

Grr... crap... sorry. That was a bug in translation from my real project. Let me fix that and upload a new project

@swift-ci
Copy link
Collaborator Author

Comment by Jason Bobier (JIRA)

I created feedback with id: FB7365769 that includes the original project with this issue (I'm having a hard time trimming it down and keeping the problem).

@swift-ci
Copy link
Collaborator Author

swift-ci commented Feb 7, 2020

Comment by Jason Bobier (JIRA)

This has turned out to be an lldb issue and not and issue with diff.

@swift-ci
Copy link
Collaborator Author

swift-ci commented Feb 7, 2020

Comment by Jason Bobier (JIRA)

This issue with lldb has been fixed in Xcode 11.4

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants