On Friday, 29 May 2026 at 10:56:51 UTC, Nick Treleaven wrote:
On Sunday, 26 April 2026 at 03:09:39 UTC, Meta wrote:
This is about the integer promotion rules, that people have been complaining about for years.

Can you give an example of what you think should work but doesn't?

```d
byte x = 7;
x = -x;  // cannot convert -x of type int to byte
```

Just one of the worst.
  • Re: Operator dec... Meta via Digitalmars-d-learn
    • Re: Operato... Dom Disc via Digitalmars-d-learn
    • Re: Operato... Nick Treleaven via Digitalmars-d-learn
      • Re: Ope... Meta via Digitalmars-d-learn
        • Re:... Dom Disc via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... Nick Treleaven via Digitalmars-d-learn
          • ... Meta via Digitalmars-d-learn
            • ... Nick Treleaven via Digitalmars-d-learn
            • ... Dom Disc via Digitalmars-d-learn
            • ... Andy Valencia via Digitalmars-d-learn
            • ... Nick Treleaven via Digitalmars-d-learn
            • ... Dom Disc via Digitalmars-d-learn
            • ... Nick Treleaven via Digitalmars-d-learn
  • Re: Operator dec... Dom Disc via Digitalmars-d-learn

Reply via email to