<div dir="ltr"><div dir="ltr"><div dir="ltr">I do not understand you?<div>What is wrong? It works ok.</div><div><a href="https://run.dlang.io/is/ZFf0FQ">https://run.dlang.io/is/ZFf0FQ</a><br></div><div><br></div><div>What do you mean by D required breaks for cases?</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 14, 2018 at 1:20 AM Michelle Long via Digitalmars-d-learn <<a href="mailto:digitalmars-d-learn@puremagic.com">digitalmars-d-learn@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">byte x = 0xF;<br>
ulong y = x >> 60;<br>
<br>
Does not compute the proper value.<br>
<br>
It seems that the shift amount is wrapped. My code is more <br>
complex. The code above does give an error. I am using the code <br>
in a template. If I change x to ulong it works as expected.<br>
<br>
I've noticed the compiler is not throwing up errors and warnings <br>
like it used to:<br>
<br>
I thought D required breaks for cases? Seems it doesn't any <br>
longer! I'm only using -g -gf -d<br>
<br>
<br>
DMD64 D Compiler v2.083.0<br>
<br>
<br>
</blockquote></div>