https://issues.dlang.org/show_bug.cgi?id=16997
--- Comment #4 from Ketmar Dark ---
p.s.: i'm not that smart, tbh, i understood the rationale behind the design
after alot of hard thinking.
--
https://issues.dlang.org/show_bug.cgi?id=16997
--- Comment #3 from Ketmar Dark ---
as for the question: promotion rules are what they are currently to allow this:
byte n;
n = -n;
if unary minus will promote `n`, you will need to add `cast` there. and negate
never ever drop bits from integer (ev
https://issues.dlang.org/show_bug.cgi?id=16997
Ketmar Dark changed:
What|Removed |Added
Attachment #1626|0 |1
is obsolete|
https://issues.dlang.org/show_bug.cgi?id=16996
safety0ff.bugz changed:
What|Removed |Added
Keywords||pull
--- Comment #4 from safety0ff.bugz --
https://issues.dlang.org/show_bug.cgi?id=16146
--- Comment #2 from Ketmar Dark ---
yeah, seems to be fixed. tnx!
--
https://issues.dlang.org/show_bug.cgi?id=16997
--- Comment #1 from ponce ---
Created attachment 1626
--> https://issues.dlang.org/attachment.cgi?id=1626&action=edit
Patch in ketmar DMD fork ("aliced") to make unary +/- on small integers a
warning
--
https://issues.dlang.org/show_bug.cgi?id=16997
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--
https://issues.dlang.org/show_bug.cgi?id=16997
Issue ID: 16997
Summary: Real-life evidence for integer promotion of unary
minus creating bugs when porting C code
Product: D
Version: D2
Hardware: All
OS: All
https://issues.dlang.org/show_bug.cgi?id=16996
safety0ff.bugz changed:
What|Removed |Added
Severity|enhancement |normal
--- Comment #3 from safety0ff.bugz
https://issues.dlang.org/show_bug.cgi?id=16996
safety0ff.bugz changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://issues.dlang.org/show_bug.cgi?id=16996
safety0ff.bugz changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=16996
Issue ID: 16996
Summary: std.algorithm.remove with SwapStrategy.unstable
removes more entries
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status
https://issues.dlang.org/show_bug.cgi?id=16967
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #1 fr
https://issues.dlang.org/show_bug.cgi?id=16146
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #1 fr
https://issues.dlang.org/show_bug.cgi?id=16480
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #1 fr
https://issues.dlang.org/show_bug.cgi?id=8656
Rainer Schuetze changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=16995
Issue ID: 16995
Summary: __traits(getUnittests) doesn't work with separate
compilation
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=16783
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=16573
--- Comment #5 from r...@rcorre.net ---
(In reply to RazvanN from comment #4)
> This should be closed, right?
I don't know when things get transitioned from fixed to closed, but a fix has
been merged to master: https://github.com/dlang/phobos/pull/48
https://issues.dlang.org/show_bug.cgi?id=16994
Issue ID: 16994
Summary: Apparently faulty symbol resolution in some cases
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: major
https://issues.dlang.org/show_bug.cgi?id=16993
Issue ID: 16993
Summary: Documentation for toSimpleString and toString does not
explain how they differ
Product: D
Version: D2
Hardware: All
OS: All
S
https://issues.dlang.org/show_bug.cgi?id=16992
Issue ID: 16992
Summary: fromISOString, fromISOExtString, and fromSimpleString
do not have examples
Product: D
Version: D2
Hardware: All
OS: All
Statu
https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #2 from Lucia Cojocaru ---
PR with fix here: https://github.com/dlang/phobos/pull/4977
This works for me now:
import std.traits;
int main()
{
void f(lazy int x = 0) {}
pragma(msg, ParameterDefaultValueTuple!f);
return 0;
}
https://issues.dlang.org/show_bug.cgi?id=3463
q...@web.de changed:
What|Removed |Added
CC||q...@web.de
--- Comment #136 from q...@web.de --
https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #1 from Lucia Cojocaru ---
The cause of the issue is the way the template code is written in phobos:
https://github.com/dlang/phobos/blob/master/std/traits.d#L1225
It looks like this is expected for lazy variables:
http://forum.dlang.org
https://issues.dlang.org/show_bug.cgi?id=8656
j...@red.email.ne.jp changed:
What|Removed |Added
CC||j...@red.email.ne.jp
--- Comment #1 fro
https://issues.dlang.org/show_bug.cgi?id=16573
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=16783
--- Comment #1 from RazvanN ---
Cannot reproduce on Ubuntu 16.04 LTS 64-bit, latest version of the compiler :
DMD64 D Compiler v2.073.0-devel-878b882.
--
https://issues.dlang.org/show_bug.cgi?id=16573
--- Comment #4 from RazvanN ---
This should be closed, right?
--
29 matches
Mail list logo