Skip to content

Fix speculative empty string check#3299

Merged
Rowlando13 merged 1 commit intopallets:stablefrom
kdeldycke:fix-default-eq-check
Apr 8, 2026
Merged

Fix speculative empty string check#3299
Rowlando13 merged 1 commit intopallets:stablefrom
kdeldycke:fix-default-eq-check

Conversation

@kdeldycke
Copy link
Copy Markdown
Collaborator

Fix #3298 by checking against a speculative empty string.

That not unreasonable given the hard-coded nature of the empty string.

@kdeldycke kdeldycke added this to the 8.3.3 milestone Apr 1, 2026
@kdeldycke kdeldycke linked an issue Apr 1, 2026 that may be closed by this pull request
@kdeldycke kdeldycke force-pushed the fix-default-eq-check branch from 7320b40 to 19cfea7 Compare April 1, 2026 16:49
@kdeldycke
Copy link
Copy Markdown
Collaborator Author

I could not find any regression regarding default values so this PR is ready to be merged.

@kdeldycke kdeldycke force-pushed the fix-default-eq-check branch from 19cfea7 to d340b0c Compare April 8, 2026 14:29
@Rowlando13 Rowlando13 merged commit 1458800 into pallets:stable Apr 8, 2026
12 checks passed
@Rowlando13
Copy link
Copy Markdown
Collaborator

Can you add a changelog entry.

kdeldycke added a commit to kdeldycke/click that referenced this pull request Apr 9, 2026
Add missing entries for pallets#3238 and pallets#3299
Fix wrong version for pallets#3245 changelog entry
Lint section format
@kdeldycke
Copy link
Copy Markdown
Collaborator Author

Can you add a changelog entry.

Ah you're right. Just did that in 1339fd3 .

I am not touching stable and always use a PR so you can review it, but for such an obvious fix I took the liberty to push it directly to stable. Also used the opportunity to add a new 8.3.3 section and lint some syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

semver.Version as default causing an error

2 participants