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
Type inference should work the same for zero and one, but it doesn't, foo(1).zero has expected type 1 but this isn't added as a constraint, so we instantiate T to Int (because the only constraint is >: 1 and we widen when instantiating a singleton lower bound)