Skip to content

Fix pair deconstruction with default values#76

Merged
patriksvensson merged 2 commits into
spectreconsole:mainfrom
0xced:fix-pair-default-values-binding
May 6, 2026
Merged

Fix pair deconstruction with default values#76
patriksvensson merged 2 commits into
spectreconsole:mainfrom
0xced:fix-pair-default-values-binding

Conversation

@0xced
Copy link
Copy Markdown
Contributor

@0xced 0xced commented May 6, 2026

Fixes #75

  • I have read the Contribution Guidelines
  • I have checked that there isn't already another pull request that solves the above issue
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors

Changes

Handling both IEnumerable<string> and string when deconstructing pairs, covered by a new test.


Please upvote 👍 this pull request if you are interested in it.

0xced added 2 commits May 6, 2026 16:32
Currently crashes with System.ArgumentNullException: Value cannot be null. (Parameter 'value')
@patriksvensson patriksvensson merged commit 77da931 into spectreconsole:main May 6, 2026
2 checks passed
@0xced 0xced deleted the fix-pair-default-values-binding branch May 6, 2026 18:01
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.

Pair deconstruction crashes with default values

2 participants