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 const-evaluator often tries to act like it can figure out an expected type from the context and pass it in, but this is not always possible in general.
And in any case, it may make more sense to have the const-evaluated values carry around the actual computed types. But then this leads to issues like: Should the computed types be so strict as to be "this is the value -3 of type i8"? Or would it be better to be more flexible and have the computed type just be "this is the value -3 of type signed integer, so that it could be used with any signed integer type that can hold that value?