[Issue 19164] malloc may be considered pure when failure results in program exit (no need to reset errno)

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19164 --- Comment #8 from Nathan S. --- >If it was only to improve already existing code, it should've been >done there locally for that code. BTW, the first version of the PR was like that, but Sebastian Wilzbach & Petar Kirov objected convincingly on

[Issue 19164] malloc may be considered pure when failure results in program exit (no need to reset errno)

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19164 --- Comment #11 from Nathan S. --- >It's like we're talking about different things... `malloc` returning >null is *insufficient* to warrant program termination, no matter how >you want to call the wrapper. I think 99% of the problem is that I

[Issue 19410] New: Inconsistency between __traits(allMembers) and __traits(hasMember) for nested structs

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19410 Issue ID: 19410 Summary: Inconsistency between __traits(allMembers) and __traits(hasMember) for nested structs Product: D Version: D2 Hardware: All OS: All

[Issue 19164] malloc may be considered pure when failure results in program exit (no need to reset errno)

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19164 --- Comment #9 from Stanislav Blinov --- It's like we're talking about different things... `malloc` returning null is *insufficient* to warrant program termination, no matter how you want to call the wrapper. As for that: > They can know by

[Issue 1983] Delegates violate const

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #19 from

[Issue 19164] malloc may be considered pure when failure results in program exit (no need to reset errno)

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19164 --- Comment #6 from Stanislav Blinov --- If it was only to improve already existing code, it should've been done there locally for that code. But these are made for the whole package. For longevity, changing semantics of malloc isn't a good design

[Issue 19164] malloc may be considered pure when failure results in program exit (no need to reset errno)

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19164 --- Comment #10 from Nathan S. --- You are right, the documentation is incorrect and should be fixed. --

[Issue 19411] New: Visual D Intellisense chokes on static ifs

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19411 Issue ID: 19411 Summary: Visual D Intellisense chokes on static ifs Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 18572] AliasSeq default arguments are broken

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18572 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from

[Issue 19164] malloc may be considered pure when failure results in program exit (no need to reset errno)

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19164 --- Comment #7 from Nathan S. --- The name "enforceMalloc" was chosen to be similar to "enforce" which throws an exception if its argument is false. The idea being "enforceMalloc" is like a shorthand way of writing: "auto ptr = malloc(sz);

[Issue 18906] Template specialisations should not be stripped if they're not called

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18906 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #4 from

[Issue 19164] malloc may be considered pure when failure results in program exit (no need to reset errno)

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19164 --- Comment #12 from Nathan S. --- Improvement PR: https://github.com/dlang/phobos/pull/6774 --

[Issue 19409] New: static if (__traits(compiles, __traits(identifier, ...))) evaluates to false even though the expression alone evaluates to true

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19409 Issue ID: 19409 Summary: static if (__traits(compiles, __traits(identifier, ...))) evaluates to false even though the expression alone evaluates to true Product: D

[Issue 18906] Template specialisations should not be stripped if they're not called

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18906 --- Comment #5 from Manu --- Sorry, it should probably be '=', not ':'... --

[Issue 18906] Template specialisations should not be stripped if they're not called

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18906 --- Comment #6 from Manu --- But you get the idea... --

[Issue 19364] Decrease template bloat for string functions

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19364 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 19364] Decrease template bloat for string functions

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19364 --- Comment #1 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/4cc47e6dc21ac3f42cd1b21f8dd37d2c56c070fa Fix Issue 19364 - Decrease template bloat for string

[Issue 19381] capture pointer in nested function should not be called "this"

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19381 Stanislav Blinov changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 19410] Inconsistency between __traits(allMembers) and __traits(hasMember) for nested structs

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19410 Stanislav Blinov changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 16437] Enum type inference

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16437 --- Comment #1 from Basile B. --- Other possible cases: SomeEnum {se1, se2} SomeEnum x = se1 | se2; // OK, there's a hint to solve se1 and se2 auto y = se1 | se2; // Error (unless se1/se2 exist as var in the scope. --

[Issue 1983] Delegates violate const

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com See

[Issue 16095] a delegate can mutate immutable data and break shared / non-shared enforcements

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16095 Stanislav Blinov changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 1983] Delegates violate const

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #20 from Stanislav Blinov --- It was: https://issues.dlang.org/show_bug.cgi?id=16095 --

[Issue 18572] AliasSeq default arguments are broken

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18572 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18572] AliasSeq default arguments are broken

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18572 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5e48302354a1ec1b55108c8a8a90613b7f3eebf2 Fix Issue 18572 - AliasSeq default arguments are broken

[Issue 13683] More precise error message for wrong lambda

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13683 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/887f7558e01535cc570b169d65358a7282361564 Fix Issue 13683 - More precise error message for wrong

[Issue 13683] More precise error message for wrong lambda

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13683 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED