Skip to content

Add a couple of regression tests #79910

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

Merged

Conversation

slavapestov
Copy link
Contributor

PR testing of #78958 failed to build Foundation and swift-docc, while validation tests passed. I haven't been able to resolve these two issues yet, but to make a tiny bit of progress, let's add the two reductions to the test suite.

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov enabled auto-merge March 11, 2025 14:25
}

func foo1(x: (x: Int, y: Int)?, y: (Int, Int)) -> G<(x: Int, y: Int)> {
let g = G(t: x ?? y)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was the specific case that regressed with the deep equality change, but if you look at the rest of the file you'll see the general behavior with this sort of thing is quite inconsistent...

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov disabled auto-merge March 11, 2025 14:30
@slavapestov slavapestov enabled auto-merge March 11, 2025 18:44
@slavapestov slavapestov merged commit b852f94 into swiftlang:main Mar 11, 2025
4 of 5 checks passed
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