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
Doing foo &= bar does not do the right thing if foo and bar are both of a type that will get promoted to int when doing &. Unfortunately, that's what the code is doing after the modifications in #30680
This will happen to compile on some compilers/versions but not others.
Do we happen to have a concrete compiler variant that exposes this? it would be nice to add this kind of test in CI when we fix it (and in case other places have similar issues that are compiler-dependent)
Doing
foo &= bar
does not do the right thing iffoo
andbar
are both of a type that will get promoted toint
when doing&
. Unfortunately, that's what the code is doing after the modifications in #30680This will happen to compile on some compilers/versions but not others.
Originally posted by @bzbarsky-apple in #30680 (comment)
The text was updated successfully, but these errors were encountered: