Skip to content

When + Parameter Packs#1359

Open
RomanPodymov wants to merge 5 commits intomasterfrom
feature/parameter_packs
Open

When + Parameter Packs#1359
RomanPodymov wants to merge 5 commits intomasterfrom
feature/parameter_packs

Conversation

@RomanPodymov
Copy link
Collaborator

@RomanPodymov RomanPodymov commented Feb 14, 2026

Hello.
Thank you for PromiseKit.
@Nikoloutsos proposed to use Parameter Packs, let's try it.
Fixes #1268.

// Previously exposed a bridging crash in Swift
// NOTE nobody was brave enough or diligent enough to report this to Apple :{
// NOTE no Linux test since this constructor doesn’t exist there
XCTAssertFalse(NSError().isCancelled)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hello @mxcl
It looks like this is now also crashing on macOS.

@@ -76,14 +76,17 @@ class RaceTests: XCTestCase {
func testFulfilledWithNoWinner() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mxcl Don't know why, but it was failing on Android.

@Nikoloutsos
Copy link

Nikoloutsos commented Feb 16, 2026

Hope you liked the article 😅
@RomanPodymov may you please describe what problem we're facing at this moment? I see the tests are green.

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.

Limitation of the "when" function to 5 elements

2 participants