[Issue 19334] Derived class inheritance private members in same module

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19334 --- Comment #3 from alexanderheisterm...@gmail.com --- "This is not a bug and is working as intended" I strongly disagree with that notation. --

[Issue 19334] Derived class inheritance private members in same module

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19334 --- Comment #5 from alexanderheisterm...@gmail.com --- This isn't about encapsulation, this is about inheritance. Class B should NOT inherent Class A private members, irregardless of in the same module or not. Period. If you want me to write a DIP on

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 --- Comment #4 from Simon Naarmann --- D language spec, Pure Functions: https://dlang.org/spec/function.html#pure-functions In Point 8, it says: As a concession to practicality, a pure function can also: * read and write the floating point

[Issue 19334] Derived class inheritance private members in same module

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19334 --- Comment #4 from Mike Parker --- The unit of encapsulation in D is the module. If you absolutely positively can't live with access to private members in the same module, then keep your classes in separate modules under the same package namespace.

[Issue 19314] Thread object destruction may result in UB

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

[Issue 19314] Thread object destruction may result in UB

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19314 --- Comment #1 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/f60eb358ccbc14a1a5fc1774eab505ed0132e999 Fix crash in destructor of detached thread Fix

[Issue 19297] JSONValue of signed and unsigned equal values is not equal

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19297 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/b07b2154242a3278f6ee68b2aebfe83019f9fc6b Fix issue 19297: handle comparison of signed, unsigned

[Issue 19304] [Reg 2.081.0] Linker arguments order changed in issue 15574 hinders using --whole-archive linker directive

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19304 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/4407069051197b6af2df3699b3c5a1488fe45eab Fix issue 19304 - [Reg 2.081.0] Linker arguments order

[Issue 19319] No line number when std.math is missing for x ^^ y

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

[Issue 19319] No line number when std.math is missing for x ^^ y

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19319 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ee14f37c1cd3cba257d04ed8ab08137d2a4f5184 fix Issue 19319 - No line number when std.math is missing for

[Issue 18457] betterC - struct destructor is always called at function return

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18457 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #1

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 --- Comment #3 from Simon Naarmann --- I see no problems to making fmod() pure. But with round(), here's the Phobos code: auto round(real x) @trusted nothrow @nogc { version (CRuntime_Microsoft) { auto old =

[Issue 19307] Variables moved to a closure show nonsense in debugger

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

[Issue 19307] Variables moved to a closure show nonsense in debugger

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19307 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/098cfdcc4a5ef3532816c11636934cd781c996f5 fix issue 19307 - Variables moved to a closure show nonsense