[Issue 18548] [2.079] std.format ignores templated toString if another toString is not a template

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

[Issue 18548] [2.079] std.format ignores templated toString if another toString is not a template

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18548 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3d5cb4a0f7d0889a1f6b3830d3efada7177260aa Fix Issue 18548 - std.format ignores templated toString

[Issue 18565] std.regex Captures opAssign returns void since v2.079.0

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18565 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/0b9ca7107c49cd995e3de8886a884b34dcba435a Fix Issue 18565 - std.regex Captures opAssign returns

[Issue 18565] std.regex Captures opAssign returns void since v2.079.0

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

[Issue 18601] alias m = __traits(getMember, ...) doesn't work

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18601 --- Comment #3 from Manu --- I'm trolling my Blizzard colleagues by trying to get them interested in D... but the quality bar needs to be a LOT higher here to be convincing compared to my former workplaces. --

[Issue 18601] alias m = __traits(getMember, ...) doesn't work

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18601 --- Comment #2 from Manu --- Indeed, I am aware of the workaround, but that doesn't make the problem any better. People don't expect to have to wrap a thing in an Alias!() statement for no logical reason... so it's just a gotcha

[Issue 18601] alias m = __traits(getMember, ...) doesn't work

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18601 Jonathan M Davis changed: What|Removed |Added CC|

[Issue 18603] New: Illegal instruction: 4 on Mac OS 10.7.5 Leopard

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18603 Issue ID: 18603 Summary: Illegal instruction: 4 on Mac OS 10.7.5 Leopard Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: normal

[Issue 18602] New: [Better C] docs

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18602 Issue ID: 18602 Summary: [Better C] docs Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: trivial

[Issue 18601] New: alias m = __traits(getMember, ...) doesn't work

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18601 Issue ID: 18601 Summary: alias m = __traits(getMember, ...) doesn't work Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 18166] std.array.replace should be usable in @safe for dstrings

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18166 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/13cf12dfda5d9564ea2f63dfbeee0f1d129af94c Fix Issue 18166 - std.array.replace should be usable in

[Issue 18166] std.array.replace should be usable in @safe for dstrings

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

[Issue 18110] most of phobos should be @safe-ly useable

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Issue 18110 depends on issue 18166, which changed state. Issue 18166 Summary: std.array.replace should be usable in @safe for dstrings https://issues.dlang.org/show_bug.cgi?id=18166 What|Removed |Added

[Issue 18600] New: Regex performance enhancement for repeated matchFirst calls

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18600 Issue ID: 18600 Summary: Regex performance enhancement for repeated matchFirst calls Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW

[Issue 18599] New: std.format %(...%) format does not allow modifiers that take additional arguments

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18599 Issue ID: 18599 Summary: std.format %(...%) format does not allow modifiers that take additional arguments Product: D Version: D2 Hardware: All OS: All

[Issue 18000] [scope] auto-generated opAssign not scope aware

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

[Issue 18000] [scope] auto-generated opAssign not scope aware

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18000 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ddef69767da510fce048fc13f8b66e79765cccb5 fix Issue 18000 - [scope] auto-generated opAssign not scope

[Issue 14680] Investigate the use of .di files for Phobos

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14680 Issue 14680 depends on issue 14693, which changed state. Issue 14693 Summary: @property return type not generated in .di file https://issues.dlang.org/show_bug.cgi?id=14693 What|Removed |Added

[Issue 14693] @property return type not generated in .di file

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14693 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14688] dmd writes paren-less expression in generated .di, subsequently refuses it

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14688 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14680] Investigate the use of .di files for Phobos

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14680 Issue 14680 depends on issue 14688, which changed state. Issue 14688 Summary: dmd writes paren-less expression in generated .di, subsequently refuses it https://issues.dlang.org/show_bug.cgi?id=14688 What|Removed

[Issue 14461] Header generation fails for definitions of string,wstring and dstring

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14461 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18332] rt.util.random.Rand48 remove unnecessary assert

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18332 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/3d02a6e72533ee9399a7f2d40caa7c463f2f4020 Issue 18332 - rt.util.random.Rand48 remove

[Issue 18325] `dmd/core/exception.d(686): _store is thread local` when building dmd

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18325 Seb changed: What|Removed |Added Keywords||pull CC|

[Issue 8341] topN(zip()) too?

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8341 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/ede44cbc63bb596085f2aa049ba924a481921bb7 Fix Issue 8341 - topN(zip()) doesn't work

[Issue 13727] std.stdio.File not thread-safe

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13727 --- Comment #12 from Steven Schveighoffer --- (In reply to Walter Bright from comment #11) > (In reply to Vladimir Panteleev from comment #8) > > https://github.com/DigitalMars/dmc/pull/2 (access required) > > This was pulled.

[Issue 17959] [DIP1000] Can store scope delegate in non-scope member

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

[Issue 17959] [DIP1000] Can store scope delegate in non-scope member

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17959 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/28879f6379bca25d6b2c984dcb43dc7cce8560f9 fix Issue 17959 - [DIP1000] Can store scope delegate in

[Issue 18282] [Scope][DIP1000]Assignment of local variable to `scope` variable not recognized by compiler

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18282 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #2 from

[Issue 17284] Template function attribute inference wrongly infers @safe for accessing overlapping pointer fields in unions

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17284 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/36eb3834efa4e792221fffb3badd0fff5d3323a7 fix Issue 17284 - Template function attribute inference

[Issue 17284] Template function attribute inference wrongly infers @safe for accessing overlapping pointer fields in unions

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

[Issue 18598] New: cyclic constructor calls have undefined behavior but are accepted in @safe code

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18598 Issue ID: 18598 Summary: cyclic constructor calls have undefined behavior but are accepted in @safe code Product: D Version: D2 Hardware: All OS: All

[Issue 15399] unaligned pointers are not @safe

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15399 ag0ae...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Issue 18597] more unsafe unaligned pointer errors

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18597 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #1 from

[Issue 15399] unaligned pointers are not @safe

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15399 --- Comment #9 from Walter Bright --- Closed and new bug created for variations: https://issues.dlang.org/show_bug.cgi?id=18597 --

[Issue 15399] unaligned pointers are not @safe

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15399 Walter Bright changed: What|Removed |Added See Also|

[Issue 18597] more unsafe unaligned pointer errors

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18597 Walter Bright changed: What|Removed |Added See Also|

[Issue 18597] more unsafe unaligned pointer errors

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18597 Walter Bright changed: What|Removed |Added Keywords||safe --

[Issue 18597] New: more unsafe unaligned pointer errors

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18597 Issue ID: 18597 Summary: more unsafe unaligned pointer errors Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1

[Issue 15399] unaligned pointers are not @safe

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15399 --- Comment #8 from Walter Bright --- (In reply to ag0aep6g from comment #5) > Reopening because these very slight variations are still accepted: Since the original bug was fixed, I'd prefer opening new bugs for new

[Issue 18596] New: std.random.unpredictableSeed could use something better than MinstdRand0

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18596 Issue ID: 18596 Summary: std.random.unpredictableSeed could use something better than MinstdRand0 Product: D Version: D2 Hardware: All URL: http://dlang.org/

[Issue 13983] RefCounted needs to be pure, @safe, nothrow

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13983 --- Comment #6 from Walter Bright --- Partial fix (@safe not done) pulled here: https://github.com/dlang/phobos/pull/4832 --

[Issue 13727] std.stdio.File not thread-safe

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13727 --- Comment #11 from Walter Bright --- (In reply to Vladimir Panteleev from comment #8) > https://github.com/DigitalMars/dmc/pull/2 (access required) This was pulled. --

[Issue 18595] New: std.random: add unpredictableSeedOf!UIntType for non-uint unpredictableSeed

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18595 Issue ID: 18595 Summary: std.random: add unpredictableSeedOf!UIntType for non-uint unpredictableSeed Product: D Version: D2 Hardware: All URL: http://dlang.org/

[Issue 13639] std.internal.math.biguintcore.fromDecimalString from @trusted to @safe fails unittests

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13639 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12516] TypeInfo.getHash should not be trusted

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12516 Walter Bright changed: What|Removed |Added CC|

[Issue 18168] std.base64.encode for output ranges should be usable in @safe

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18168 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/e826c82e3286a8f9f34713ae321c1261a3164d1a Fix Issue 18168 - std.base64.encode for output ranges

[Issue 18110] most of phobos should be @safe-ly useable

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Issue 18110 depends on issue 18168, which changed state. Issue 18168 Summary: std.base64.encode for output ranges should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18168 What|Removed |Added

[Issue 18000] [scope] auto-generated opAssign not scope aware

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18000 --- Comment #2 from Walter Bright --- https://github.com/dlang/dmd/pull/8011 --

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 --- Comment #36 from Shachar Shemesh --- Hello Walter, I see two problems with your comment. The first is that I think you are missing the real point of this bug report. It is not about controlling movability. It is about being

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 --- Comment #12 from Rainer Schuetze --- This looks like a variation of https://issues.dlang.org/show_bug.cgi?id=17959, with -dip1000 inferring "scope". --

[Issue 18587] Context pointer not set for delegate template parameter when declared in struct body

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18587 Simen Kjaeraas changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18594] X is not an lvalue should have a better error message

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18594 --- Comment #3 from Seb --- A start: https://github.com/dlang/dmd/pull/8009 --

[Issue 18568] partially overlapping assignments have undefined behavior but are accepted in @safe code

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18568 Walter Bright changed: What|Removed |Added CC|

[Issue 17892] Scope analysis with -dip1000 fails for templated structs

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17892 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3dd5b8ca04c0d25bb34d4d8dff3de4949ab066a1 supplemental fix for Issue 17892 --

[Issue 18594] X is not an lvalue should have a better error message

2018-03-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18594 --- Comment #2 from Seb --- Hmm, just modifying the error message isn't enough. We should probably look up in the tree to check whether we are in if expression, assert, ... diff --git a/src/dmd/expression.d