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 NPE is hard to reason about. It would be nice to have a better error message indicating which nil object is being accessed or where in the code this happens.
Workarounds
Recover the panic and extract the stack trace to even find out where the error comes from.
The text was updated successfully, but these errors were encountered:
Proposal
Accessing an unimported stdlib package panics instead of returning an error:
Gives
Background
The NPE is hard to reason about. It would be nice to have a better error message indicating which nil object is being accessed or where in the code this happens.
Workarounds
Recover the panic and extract the stack trace to even find out where the error comes from.
The text was updated successfully, but these errors were encountered: