byte x = 0xF;
ulong y = x >> 60;

Does not compute the proper value.

It seems that the shift amount is wrapped. My code is more complex. The code above does give an error. I am using the code in a template. If I change x to ulong it works as expected.

I've noticed the compiler is not throwing up errors and warnings like it used to:

I thought D required breaks for cases? Seems it doesn't any longer! I'm only using -g -gf -d


DMD64 D Compiler v2.083.0


Reply via email to