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
The code clearly suffers from scoping problems around two variables err and authErr, which are assigned to each other in a cycle. It looks like this ties up the analysis until the stack is exceeded.
I have a fragment of code which caused
go-errorlint
to crash, thought I'd share:https://github.com/open-telemetry/otel-arrow/blob/d198a41f4c5a43451ab47d0841776412cd3c8fa0/collector/receiver/otelarrowreceiver/internal/arrow/arrow.go#L338
The code clearly suffers from scoping problems around two variables
err
andauthErr
, which are assigned to each other in a cycle. It looks like this ties up the analysis until the stack is exceeded.and so on. I'm going to rewrite this code to avoid the cycle, anyway, thanks!
The text was updated successfully, but these errors were encountered: