[Issue 17633] Unary negation has the wrong type

2023-10-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17633

Basile-z  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||b2.t...@gmx.com
 Resolution|--- |WORKSFORME

--


[Issue 17633] Unary negation has the wrong type

2017-07-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17633

Eyal  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=17637

--


[Issue 17633] Unary negation has the wrong type

2017-07-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17633

Vladimir Panteleev  changed:

   What|Removed |Added

  Component|dlang.org   |dmd
   Severity|enhancement |normal

--


[Issue 17633] Unary negation has the wrong type

2017-07-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17633

--- Comment #1 from Eyal  ---
If C's rules are not desirable here. That's fine.

assert_minus_1 should STILL not fail.

instead of -ubyte becoming int as in C, -ubyte can at least become byte.

--