[Issue 18600] Regex performance enhancement for repeated matchFirst calls

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18600 --- Comment #1 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/4318073f40ae3e82ac1847da5e037ab2f091d6fc Fix issue 18600 Revamp std.regex caching for matchFirst

[Issue 18600] Regex performance enhancement for repeated matchFirst calls

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

[Issue 18644] [dip1000] escape of outer local not detected

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18644 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/51565f362fd318ceb0cf94519819c3232b1adb22 fix Issue 18644 - [dip1000] escape of outer local not

[Issue 18644] [dip1000] escape of outer local not detected

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

[Issue 18634] std.container.rbtree does not work with delegate comparators

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18634 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a3f8992766b1baf4d4dd2d57043a734db29c221b Fix issue 18634 - support for delegate comparators in

[Issue 18634] std.container.rbtree does not work with delegate comparators

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

[Issue 17906] Use of delete should be allowed without a deprecation in a deprecated scope

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17906 Seb changed: What|Removed |Added Keywords||pull --- Comment #5 from Seb

[Issue 17906] Use of delete should be allowed without a deprecation in a deprecated scope

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17906 Seb changed: What|Removed |Added CC||greensunn...@gmail.com

[Issue 18461] codegen bug - OPbt expressions and assignments to ambiguous symbols

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18461 --- Comment #11 from Walter Bright --- https://github.com/dlang/dmd/pull/8065 --

[Issue 18461] codegen bug - OPbt expressions and assignments to ambiguous symbols

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18461 Walter Bright changed: What|Removed |Added Summary|codegen bug in dmd -|codegen bug - OPbt

[Issue 17906] Deprecated functions should not cause deprecated warnings for using deprecated features

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17906 --- Comment #4 from FeepingCreature --- Huh, seems like you're right. Not sure if this was fixed or it always worked that way. Either way, good to know! I guess this bug report is about Mathias Lang's problem now. --

[Issue 17906] Deprecated functions should not cause deprecated warnings for using deprecated features

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17906 --- Comment #3 from Mathias Lang --- Could you paste the message generated ? In your example, I would expect a deprecation to be generated for the import, but not on the actual function declaration. --

[Issue 17906] Deprecated functions should not cause deprecated warnings for using deprecated features

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17906 --- Comment #2 from FeepingCreature --- That's also true, but my example refers specifically to deprecated functions using deprecated types. However, I labelled the bug report wrong, and your example actually fits it

[Issue 18645] New: DMD segmentation fault

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18645 Issue ID: 18645 Summary: DMD segmentation fault Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major Priority: P1

[Issue 17906] Deprecated functions should not cause deprecated warnings for using deprecated features

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17906 Mathias Lang changed: What|Removed |Added CC|

[Issue 10933] findSplitBefore/After should have needle-less overloads

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10933 --- Comment #1 from Luís Marques --- Yup, I've ran into the same issue multiple times. This last time with the plain findSplit; I don't recall if also with findSplitBefore/After. This workaround works:

[Issue 10933] findSplitBefore/After should have needle-less overloads

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10933 Luís Marques changed: What|Removed |Added CC||l...@luismarques.eu --

[Issue 7930] Static initialization of static-sized array in union fails

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7930 bitter.ta...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18172] std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18172 --- Comment #11 from Jack Stouffer --- (In reply to Walter Bright from comment #10) > (In reply to Jack Stouffer from comment #7) > > I should have emphized more the fact that I had already modified getopt. > > I've attached

[Issue 18461] codegen bug in dmd - assignments to ambiguous symbols

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18461 Walter Bright changed: What|Removed |Added Hardware|x86_64 |All

[Issue 18461] codegen bug in dmd - assignments to ambiguous symbols

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

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #10 from anonymous4 --- (In reply to Mathias Lang from comment #9) > The web can get wide > pretty quickly, and suddenly your user is stuck in a situation where he has > to spend an unreasonable amount of time

[Issue 18444] [DIP25][DIP1000] Tracking issue for: "The implementation doesn't match DIPs 25/1000"

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18444 --- Comment #4 from Walter Bright --- (In reply to Carsten Blüggel from comment #3) > If it's of no special value for You, then it's worth to be/remain RESOLVED. > My vision is, phobos to be fully -dip1000 compilable before

[Issue 18644] [dip1000] escape of outer local not detected

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18644 --- Comment #3 from Walter Bright --- (In reply to Jonathan M Davis from comment #1) > int i; > int* foo() { return } should behave like: int* foo(int* p) { return p; } and then the error is detected:

[Issue 18644] [dip1000] escape of outer local not detected

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

[Issue 18644] [dip1000] escape of outer local not detected

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

[Issue 18644] [dip1000] escape of outer local not detected

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

[Issue 18644] New: [dip1000] escape of outer local not detected

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18644 Issue ID: 18644 Summary: [dip1000] escape of outer local not detected Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 18637] [scope][DIP1000] "copying & i into allocated memory escapes a reference to local variable i" where it's inappropriate

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

[Issue 15660] break immutable with pure function and mutable reference params

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

[Issue 15660] break immutable with pure function and mutable reference params

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15660 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ab5a18635adaa3e2271e0f4b569500a89ac74235 fix Issue 15660 - break immutable with pure function and

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

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18598 --- Comment #3 from Walter Bright --- (In reply to ag0aep6g from comment #2) > Is that a problem for normal (non-constructor) functions as well? Yes. I'm open to advice on what to do about it. --

[Issue 18643] New: Compiling error when combining CAS and numeric literal.

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18643 Issue ID: 18643 Summary: Compiling error when combining CAS and numeric literal. Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW