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 that case this could potentially be related to #42938?
however many of my use cases for the infer keyword are simply using it to define sort of a "type variable" such that i don't have to repeat code. for example:
Bug Report
π Search Terms
inferred generic widened
π Version & Regression Information
4.3.0-beta
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
R
was incorrectly widened to no longer be anumber
, even though it was inferred fromT
which is anumber
π Expected behavior
no error, as
R
is a numberThe text was updated successfully, but these errors were encountered: