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
In internal golang representation, Platform is different from the int. Although Expr does automative type conversions for ints, in this case you will need to case to int explisitly:
int(platform)in[1,2]
Explanation about why Golang behaves this way: #632 (comment)
Activity
seruman commentedon May 30, 2025
Looks like #632
antonmedv commentedon May 30, 2025
Yes, this is by design.
In internal golang representation, Platform is different from the int. Although Expr does automative type conversions for ints, in this case you will need to case to int explisitly:
Explanation about why Golang behaves this way: #632 (comment)