Skip to content

ISSUE #627: convert typed-nils to untyped-nils on error#631

Merged
puellanivis merged 3 commits intodev-v2from
ISSUE-627-convert-typed-nil-to-untyped-nil
Mar 31, 2025
Merged

ISSUE #627: convert typed-nils to untyped-nils on error#631
puellanivis merged 3 commits intodev-v2from
ISSUE-627-convert-typed-nil-to-untyped-nil

Conversation

@puellanivis
Copy link
Collaborator

Addresses #627 , we handle converting certain getters into an untyped-nil sshfx.Packet on non-nil error.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I’ve checked all the other cases of returns in Server.handle(), and they all test for err != nil immediately after.

Copy link
Contributor

Choose a reason for hiding this comment

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

WOW, Solid change!

@puellanivis puellanivis merged commit 59d22ff into dev-v2 Mar 31, 2025
3 checks passed
@puellanivis puellanivis deleted the ISSUE-627-convert-typed-nil-to-untyped-nil branch March 31, 2025 13:53
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