mirror of
https://github.com/go-delve/delve.git
synced 2026-05-05 20:26:14 +02:00
SeekToTypeNamed, FindEntryNamed, and NextMemberVariable used for loops whose condition only tested entry != nil before running the body. When Next or NextType returned a non-nil error with a nil entry, the loop exited without inspecting err, returning not-found or nil instead of the failure. Restructure iteration to always handle errors first.