[Issue 16997] Real-life evidence for integer promotion of unary minus creating bugs when porting C code

2016-12-20 Thread via Digitalmars-d-bugs
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. --

[Issue 16997] Real-life evidence for integer promotion of unary minus creating bugs when porting C code

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16997] Real-life evidence for integer promotion of unary minus creating bugs when porting C code

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 Ketmar Dark changed: What|Removed |Added Attachment #1626|0 |1 is obsolete|

[Issue 16996] std.algorithm.remove with SwapStrategy.unstable removes more entries

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16996 safety0ff.bugz changed: What|Removed |Added Keywords||pull --- Comment #4 from safety0ff.bugz --

[Issue 16146] postblit is not called on struct creation with "{field:value}" syntax

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16146 --- Comment #2 from Ketmar Dark --- yeah, seems to be fixed. tnx! --

[Issue 16997] Real-life evidence for integer promotion of unary minus creating bugs when porting C code

2016-12-20 Thread via Digitalmars-d-bugs
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 --

[Issue 16997] Real-life evidence for integer promotion of unary minus creating bugs when porting C code

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 Ketmar Dark changed: What|Removed |Added CC||ket...@ketmar.no-ip.org --

[Issue 16997] New: Real-life evidence for integer promotion of unary minus creating bugs when porting C code

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16996] std.algorithm.remove with SwapStrategy.unstable removes more entries

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16996 safety0ff.bugz changed: What|Removed |Added Severity|enhancement |normal --- Comment #3 from safety0ff.bugz

[Issue 16996] std.algorithm.remove with SwapStrategy.unstable removes more entries

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16996 safety0ff.bugz changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Issue 16996] std.algorithm.remove with SwapStrategy.unstable removes more entries

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16996 safety0ff.bugz changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 16996] New: std.algorithm.remove with SwapStrategy.unstable removes more entries

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16967] No switch case fallthrough warnings in in/out contracts

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16146] postblit is not called on struct creation with "{field:value}" syntax

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16480] Local selective imports hide member functions

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 8656] Different naming of member base/next in TypeInfo_Const in object_.d and object.di

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8656 Rainer Schuetze changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 16995] New: __traits(getUnittests) doesn't work with separate compilation

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16783] std.net.curl application throws an exception

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16783 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 16573] string-typed enum values pass isSomeString but not isInputRange

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16994] New: Apparently faulty symbol resolution in some cases

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16993] New: Documentation for toSimpleString and toString does not explain how they differ

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16992] New: fromISOString, fromISOExtString, and fromSimpleString do not have examples

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16653] ParameterDefaultValueTuple fails to compile when function has lazy param

2016-12-20 Thread via Digitalmars-d-bugs
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; }

[Issue 3463] [GC] Integrate Precise Heap Scanning Into the GC

2016-12-20 Thread via Digitalmars-d-bugs
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 --

[Issue 16653] ParameterDefaultValueTuple fails to compile when function has lazy param

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 8656] Different naming of member base/next in TypeInfo_Const in object_.d and object.di

2016-12-20 Thread via Digitalmars-d-bugs
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

[Issue 16573] string-typed enum values pass isSomeString but not isInputRange

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16573 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 16783] std.net.curl application throws an exception

2016-12-20 Thread via Digitalmars-d-bugs
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. --

[Issue 16573] string-typed enum values pass isSomeString but not isInputRange

2016-12-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16573 --- Comment #4 from RazvanN --- This should be closed, right? --