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
We believe that the change which caused IsEqual to not be first here causes the type to be distributed early, and the IsEqual check suddenly fails because it distributes to Exact<A, Expected> | Exact<B, Expected> which doesn't make any sense.
isEqualused to be first, which is why this worked previously, so I think moving it first again could fix this issue.
Code that worked in v4.21.0 no longer compiles in v4.22.0 after the change to
Exact
. Simplified code below:Playground Link
We believe that the change which caused
IsEqual
to not be first here causes the type to be distributed early, and theIsEqual
check suddenly fails because it distributes toExact<A, Expected> | Exact<B, Expected>
which doesn't make any sense.isEqual
used to be first, which is why this worked previously, so I think moving it first again could fix this issue.cc @zorji
Upvote & Fund
The text was updated successfully, but these errors were encountered: