You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A better fix for this would be to keep a map of all the error nodes visited and return true if visiting the same node. This is tough as error is not guaranteed to be comparable and thus cannot be a map key (without handling panics). Open to suggestions but I think this is something that should be fixed.
The text was updated successfully, but these errors were encountered:
Proposal Details
Consider the following error:
This program waits forever in the errors.Is call. I propose to update the
is
function to be the following:A better fix for this would be to keep a map of all the error nodes visited and return true if visiting the same node. This is tough as
error
is not guaranteed to be comparable and thus cannot be a map key (without handling panics). Open to suggestions but I think this is something that should be fixed.The text was updated successfully, but these errors were encountered: