Skip to content

Conversation

@glessard
Copy link
Contributor

@glessard glessard commented Feb 6, 2026

Generalizes the filter(_:) functions of most standard library types to support typed throws.

@glessard
Copy link
Contributor Author

glessard commented Feb 6, 2026

@swift-ci please test

@glessard glessard force-pushed the filter-closures-typed-throws branch from dd5fcf3 to 9cee83d Compare February 6, 2026 06:41
@glessard
Copy link
Contributor Author

glessard commented Feb 6, 2026

@swift-ci please test

@glessard glessard force-pushed the filter-closures-typed-throws branch from 9cee83d to eaf1713 Compare February 6, 2026 23:09
@glessard
Copy link
Contributor Author

glessard commented Feb 6, 2026

@swift-ci please test macOS platform

@glessard glessard force-pushed the filter-closures-typed-throws branch from eaf1713 to 31970af Compare February 7, 2026 20:19
@glessard
Copy link
Contributor Author

glessard commented Feb 7, 2026

@swift-ci please test

@glessard
Copy link
Contributor Author

glessard commented Feb 7, 2026

@swift-ci Please Test Source Compatibility

@glessard glessard force-pushed the filter-closures-typed-throws branch from 31970af to 733f7bd Compare February 8, 2026 00:54
@glessard
Copy link
Contributor Author

glessard commented Feb 8, 2026

@swift-ci please test

@glessard
Copy link
Contributor Author

glessard commented Feb 9, 2026

@swift-ci please test macOS platform

@glessard
Copy link
Contributor Author

glessard commented Feb 9, 2026

@swift-ci Please Test Source Compatibility

@glessard
Copy link
Contributor Author

glessard commented Feb 9, 2026

@swift-ci please test Linux platform

@glessard glessard force-pushed the filter-closures-typed-throws branch from 733f7bd to 1dea0bf Compare February 9, 2026 19:21
@glessard
Copy link
Contributor Author

glessard commented Feb 9, 2026

@swift-ci please test

@glessard glessard force-pushed the filter-closures-typed-throws branch from 1dea0bf to 5b5e892 Compare February 9, 2026 21:14
@glessard
Copy link
Contributor Author

glessard commented Feb 9, 2026

@swift-ci please test

@glessard
Copy link
Contributor Author

Please test with following PR: swiftlang/sourcekit-lsp#2479

@swift-ci please test

@glessard
Copy link
Contributor Author

Please test with following PR: swiftlang/sourcekit-lsp#2479

@swift-ci please smoke test

@glessard glessard marked this pull request as ready for review February 10, 2026 21:55
@glessard glessard requested review from a team, hborla, slavapestov and xedin as code owners February 10, 2026 21:55
@@ -1,4 +1,4 @@
// RUN: %target-typecheck-verify-swift -solver-scope-threshold=2000
// RUN: %target-typecheck-verify-swift -solver-scope-threshold=2400
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can also keep the old performance of this test; see #87122
What would the type checker gurus prefer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After consulting with Slava, we'll have both versions.

@glessard
Copy link
Contributor Author

Please test with following PR: swiftlang/sourcekit-lsp#2479

@swift-ci please test

@glessard
Copy link
Contributor Author

Please test with following PR: swiftlang/sourcekit-lsp#2479

@swift-ci please test Windows platform

@glessard
Copy link
Contributor Author

@swift-ci Please Test Source Compatibility

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