[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14230 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com

[Issue 11792] Investigate migrating to a meta repo

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11792 Lionello Lunesu lio+bugzi...@lunesu.com changed: What|Removed |Added CC|

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #8 from Lionello Lunesu lio+bugzi...@lunesu.com --- (In reply to David Nadlinger from comment #7) I'm not sure whether this is worth the added language complexity. Do you have an example for a compelling use case? Statically testing

[Issue 14231] New: findRoot fails with trivial bounds

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14231 Issue ID: 14231 Summary: findRoot fails with trivial bounds Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: normal Priority: P1

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #13 from bearophile_h...@eml.cc --- (In reply to Lionello Lunesu from comment #12) ubyte u; //a lot of code static assert(u 9); I don't understand the point of this code. --

[Issue 13729] [REG2.067a] One not detected case of not purity

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13729 --- Comment #3 from bearophile_h...@eml.cc --- Now this code: int x; void main() pure { static void foo() { x++; } foo(); } Gives: test.d(4,9): Error: pure function 'D main' cannot access mutable static data 'x' I think a

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #12 from Lionello Lunesu lio+bugzi...@lunesu.com --- (In reply to David Nadlinger from comment #10) (In reply to Lionello Lunesu from comment #8) (In reply to David Nadlinger from comment #7) I'm not sure whether this is worth the

[Issue 13729] [REG2.067a] One not detected case of not purity

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13729 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fe6729a9465c628e48712d9c3c7a722d4d100f1d Merge pull request #4447 from

[Issue 7067] std.random.RandomSample and RandomCover are poorly designed

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7067 --- Comment #20 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net --- (In reply to Martin Nowak from comment #19) We had a talk about this during the 2nd D meetup in Berlin. One remaining question was how to deal with memory management when

[Issue 13390] [REG2.066] std.range.cycle ctor fails when empty input passed

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13390 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13390] [REG2.066] std.range.cycle ctor fails when empty input passed

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13390 --- Comment #11 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/568cd18b43fb2fe98a5eb62f06a00648450d7068 Fix Issue 13390 - Be

[Issue 14232] New: redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 Issue ID: 14232 Summary: redundant attribute 'const' Product: D Version: unspecified Hardware: All OS: All Status: NEW Severity: regression Priority:

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #11 from bearophile_h...@eml.cc --- Even this doesn't compile, but it should: void main() { ubyte x; static assert(x = 0); } --

[Issue 13010] Use variable range propagation (VRP) for static assert

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13010 --- Comment #10 from David Nadlinger c...@klickverbot.at --- (In reply to Lionello Lunesu from comment #8) (In reply to David Nadlinger from comment #7) I'm not sure whether this is worth the added language complexity. Do you have an example for

[Issue 14220] Bad codegen for optimized std.conv.text in combination with concatenation

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14220 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 12422] [REG2.055] Templated nested function is inferred as `pure` even if it calls impure functions

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12422 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/128849de37d51ec6cd08860d1db08741bbd82046 Merge pull request #4441 from

[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14230 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/43e56d57a51ef6a3240a459d3e6068fc4a9292a5 Fix Issue 14230 -

[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14230 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14230] [REG2.067b2] std.array.join misses the first element which is empty string

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14230 --- Comment #2 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/b4fa59bd736c30c183039044fe48d7477a1cc615 Merge pull request

[Issue 14220] Bad codegen for optimized std.conv.text in combination with concatenation

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14220 --- Comment #5 from Walter Bright bugzi...@digitalmars.com --- Can repro on Win64 with the switches: -m64 -O -release --

[Issue 7067] std.random.RandomSample and RandomCover are poorly designed

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7067 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #19 from

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 --- Comment #1 from Kenji Hara k.hara...@gmail.com --- The following program already reported same error in 2.066: struct Bug { const const void bug() { } } test.d(3): Error: redundant attribute 'const' --

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 14062] Not pure std.variant.Variant ctor

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14062 --- Comment #3 from Kenji Hara k.hara...@gmail.com --- (In reply to bearophile_hugs from comment #0) test.d(3): Error: pure function 'D main' cannot call impure function 'std.variant.VariantN!20u.VariantN.__ctor!int.this' test.d(3): Error: pure

[Issue 13612] Wrong 'this' variable accessed in recursive ctfe member function

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13612 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 14056] std.array.assocArray with a const value

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14056 --- Comment #5 from Kenji Hara k.hara...@gmail.com --- (In reply to Martin Nowak from comment #3) (In reply to Ulrich Küttler from comment #1) This seems to be a conscious choice, the function has been restricted to prevent a compile failure on

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 --- Comment #5 from Ketmar Dark ket...@ketmar.no-ip.org --- this effectively turns compiler code to unmaintainable spaghetti. and i believe that this is the perfect application for lint-like tool (yes, devs can finally bless dfix). with dfix blessed

[Issue 14218] [REG2.067a] casting null to integer type causes error message

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14218 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/18f4c442e53e30b44a6c599e99f39eacc27ecef1 Merge pull request #4446 from

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 briancsch...@gmail.com changed: What|Removed |Added CC||briancsch...@gmail.com --- Comment

[Issue 13612] Wrong 'this' variable accessed in recursive ctfe member function

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13612 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a91d0b3166229de8e243381c00650e09ad85f206 fix Issue 13612 - Wrong

[Issue 12036] Wrong code with auto-returning function as mixin alias param

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12036 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13009] [REG2.064] inout overload conflicts with non-inout when used via alias this

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13009 --- Comment #13 from github-bugzi...@puremagic.com --- Commit pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a7db6d65db9881b78f8abe4243e4f01a01de61d6 Merge pull request #4417 from

[Issue 14218] [REG2.067a] casting null to integer type causes error message

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14218 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/18f4c442e53e30b44a6c599e99f39eacc27ecef1 Merge pull request #4446 from

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 --- Comment #4 from Martin Nowak c...@dawg.eu --- (In reply to Ketmar Dark from comment #3) should any bug be deprecated first — just in case somebody wrote invalid code relying on that bug? Usually yes, but within reason, depending on how

[Issue 14232] redundant attribute 'const'

2015-02-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 Martin Nowak c...@dawg.eu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---