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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What does this post aims
I possibly found a tiny error so report it. I want to know whether it is intentional or not out of curiosity.
What I found
I'm reading codes in this repo and found a suspicious error handling in
buildFromType()
go-swagger/codescan/schema.go
Lines 291 to 302 in 1182d39
I think
if err != nil { return nil }
looks unintentional and possibly a (unreproducible?) bug. I suggest something likelooks a natural implementation.
Beta Was this translation helpful? Give feedback.
All reactions