I do not understand you?
What is wrong? It works ok.
https://run.dlang.io/is/ZFf0FQ

What do you mean by D required breaks for cases?

On Fri, Dec 14, 2018 at 1:20 AM Michelle Long via Digitalmars-d-learn <
digitalmars-d-learn@puremagic.com> wrote:

> 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