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
For some reason it seems to consider the operands to the comparison to be constants, even though they are both nil (and thus not even values of a type that has constants).
When the operands are bound to variables, the error goes away:
The gc compiler issues a spurious error for this comparison:
For some reason it seems to consider the operands to the comparison to be constants, even though they are both nil (and thus not even values of a type that has constants).
When the operands are bound to variables, the error goes away:
go/types
correctly reports no error.See https://play.golang.org/p/gtgb4En-KE
The text was updated successfully, but these errors were encountered: