[Issue 12242] conflict error with public imports

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12242 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 12440] Implement whole-program analysis

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12440 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 12242] conflict error with public imports

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12242 --- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23 10:33:53 EET --- This is a compiler bug because this program doesn't compile (as is expected): /// test.d // import std.algorithm; void main() { af

[Issue 12432] Diagnostic on argument count mismatch for ranges and opApply should improve

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12432 --- Comment #2 from github-bugzi...@puremagic.com 2014-03-23 01:55:57 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 12442] New: inefficient code with scope(exit)

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12442 Summary: inefficient code with scope(exit) Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: performance Severity: normal

[Issue 12442] inefficient code with scope(exit)

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12442 --- Comment #1 from Rainer Schuetze r.sagita...@gmx.de 2014-03-23 02:01:32 PDT --- The same happens with RAII: struct SCount { this(bool) nothrow { recurse++; } ~this() nothrow { recurse--; } } uint wrapper_raii() nothrow {

[Issue 12440] Implement whole-program analysis

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12440 --- Comment #3 from bearophile_h...@eml.cc 2014-03-23 02:22:51 PDT --- (In reply to comment #2) Can we have rdmd specify this flag by default, since it is passing all included files to the compiler? A whole-program class hierarchy

[Issue 12440] Implement whole-program analysis

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12440 Marco Leise marco.le...@gmx.de changed: What|Removed |Added CC||marco.le...@gmx.de

[Issue 12440] Implement whole-program analysis

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12440 --- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23 11:28:43 EET --- With the current state of D shared libraries, how many of those do we have anyway? If a change improves performance for 99% of code and breaks 1%, I

[Issue 12316] GIT HEAD: AA.get broken for Object VAL types

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12316 --- Comment #3 from github-bugzi...@puremagic.com 2014-03-23 02:34:47 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with -O -release

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #14 from Rainer Schuetze r.sagita...@gmx.de 2014-03-23 02:32:33 PDT --- I agree, it seems the better workaround. Clever compilers might notice that the passed parameter introduces no sideeffects and might infer strong purity,

[Issue 12440] Implement whole-program analysis

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12440 --- Comment #6 from Marco Leise marco.le...@gmx.de 2014-03-23 02:48:39 PDT --- (In reply to comment #5) With the current state of D shared libraries, how many of those do we have anyway? Close to none I guess. If a change improves

[Issue 12432] Diagnostic on argument count mismatch for ranges and opApply should improve

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12432 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12382] `opDollar` can't be used at CT

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12382 --- Comment #4 from github-bugzi...@puremagic.com 2014-03-23 03:07:19 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 12443] New: Allow passing DLLs directly to DMD to avoid the need for creating import libraries

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12443 Summary: Allow passing DLLs directly to DMD to avoid the need for creating import libraries Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW

[Issue 12441] DDoc should ignore interleaved non-doc comments

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12441 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 12443] Allow passing DLLs directly to DMD to avoid the need for creating import libraries

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12443 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 12443] Allow passing DLLs directly to DMD to avoid the need for creating import libraries

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12443 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23 03:24:26 PDT --- (In reply to comment #1) For the record, Delphi does away with import libraries completely and solves the DLL problem in the language. E.g.:

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with -O -release

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 Rainer Schuetze r.sagita...@gmx.de changed: What|Removed |Added Keywords||pull ---

[Issue 12378] Compiler accepts any syntactically-valid code inside double-nested map predicate

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12378 --- Comment #2 from github-bugzi...@puremagic.com 2014-03-23 03:41:20 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 11075] ICE(struct.c) after gagged error in struct field initializer

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11075 --- Comment #8 from github-bugzi...@puremagic.com 2014-03-23 03:41:11 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 12443] Allow passing DLLs directly to DMD to avoid the need for creating import libraries

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12443 --- Comment #4 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23 12:44:20 EET --- It would be simpler if the project is already using some non-trivial build system. Allowing specifying it in the source code has the same advantage

[Issue 12443] Allow passing DLLs directly to DMD to avoid the need for creating import libraries

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12443 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23 03:42:05 PDT --- (In reply to comment #2) - version (Windows) extern(dll, user32.dll) extern(C) void foo(); void main() { foo(); // would fail on

[Issue 12443] Allow passing DLLs directly to DMD to avoid the need for creating import libraries

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12443 --- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23 03:47:16 PDT --- (In reply to comment #4) It would be simpler if the project is already using some non-trivial build system. Allowing specifying it in the source

[Issue 12444] New: std.array uninitializedArray minimallyInitializedArray missing APPENDABLE attribute / capacity info

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12444 Summary: std.array uninitializedArray minimallyInitializedArray missing APPENDABLE attribute / capacity info Product: D Version: D2 Platform: All

[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9106 --- Comment #12 from Ivan Kazmenko ga...@mail.ru 2014-03-23 04:02:39 PDT --- (In reply to comment #9) (In reply to comment #8) So, for me, the problem reduced to whether randomCover could use a wholly different, better name. So, how is

[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9106 --- Comment #13 from bearophile_h...@eml.cc 2014-03-23 04:09:19 PDT --- (In reply to comment #12) No, I didn't see a similar function in other languages. The function itself seems a bit odd to me, even after I got an explanation of a

[Issue 12403] [AA] Associative array `get` function rejects some cases

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12403 --- Comment #2 from Vladimir Panteleev thecybersha...@gmail.com 2014-03-23 16:38:05 EET --- I guess it's not related to issue 12316, because the pull that fixed it did not fix this issue. -- Configure issuemail:

[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9106 --- Comment #14 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net 2014-03-23 07:59:45 PDT --- (In reply to comment #12) No, I didn't see a similar function in other languages. The function itself seems a bit odd to me, even after I

[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9106 --- Comment #15 from Ivan Kazmenko ga...@mail.ru 2014-03-23 08:10:27 PDT --- (In reply to comment #14) The rationale that I can see for randomCover would be that it ought to provide a non-destructive (i.e. no in-place shuffling),

[Issue 12242] conflict error with public imports

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12242 --- Comment #6 from Kenji Hara k.hara...@gmail.com 2014-03-23 08:57:48 PDT --- (In reply to comment #4) This is not a compiler bug. It has nothing to do with 314. The problem is that 'strip' is defined in both std.string and std.algorithm.

[Issue 12445] New: std.bitmanip.read should have overloads specifying the count of bytes to read

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12445 Summary: std.bitmanip.read should have overloads specifying the count of bytes to read Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 12445] std.bitmanip.read should have overloads specifying the count of bytes to read

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12445 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-23 09:11:51 PDT --- Sorry, the terminology is wrong. It should say count of elements, not number of bytes. The function operates on ranges of bytes. -- Configure

[Issue 12442] inefficient code with scope(exit)

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12442 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9106 --- Comment #16 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net 2014-03-23 11:56:05 PDT --- (In reply to comment #15) I don't think a no-allocation version would be possible at all. Consider having already covered N/2 elements

[Issue 12179] [ICE](e2ir.c 1861) with array operation

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12179 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com

[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9106 --- Comment #17 from Ivan Kazmenko ga...@mail.ru 2014-03-23 13:10:11 PDT --- (In reply to comment #16) (In reply to comment #15) I don't think a no-allocation version would be possible at all. Consider having already covered N/2 elements

[Issue 12446] New: std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 Summary: std.parallelism.amap prefer iteration to indexing Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 12446] std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 --- Comment #1 from safety0ff.bugz safety0ff.b...@gmail.com 2014-03-23 13:54:09 PDT --- (In reply to comment #0) This matters when random access is more expensive than iteration. Iteration, if properly implemented, should always at least

[Issue 12446] std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 safety0ff.bugz safety0ff.b...@gmail.com changed: What|Removed |Added Keywords||pull ---

[Issue 12446] std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added CC|

[Issue 12446] std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 --- Comment #4 from Andrei Alexandrescu and...@erdani.com 2014-03-23 14:55:56 PDT --- ... But there's always a way to test by measuring :o). Try it on a few typical ranges. (Typical == cost of random access, if offered, shouldn't be

[Issue 12446] std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 --- Comment #5 from safety0ff.bugz safety0ff.b...@gmail.com 2014-03-23 15:26:51 PDT --- (In reply to comment #4) ... But there's always a way to test by measuring :o). Try it on a few typical ranges. (Typical == cost of random access, if

[Issue 12446] std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 --- Comment #6 from github-bugzi...@puremagic.com 2014-03-23 16:00:39 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 12447] New: variadic template functions hijack all eponymous enum and alias template overloads

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12447 Summary: variadic template functions hijack all eponymous enum and alias template overloads Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 12316] GIT HEAD: AA.get broken for Object VAL types

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12316 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12382] `opDollar` can't be used at CT

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12382 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12378] Compiler accepts any syntactically-valid code inside double-nested map predicate

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12378 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9515] UFCS fails with local aliases

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9515 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Severity|normal |enhancement ---

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with -O -release

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #16 from github-bugzi...@puremagic.com 2014-03-23 18:11:42 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/druntime

[Issue 9515] UFCS fails with local aliases

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9515 --- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2014-03-23 18:28:11 PDT --- UFCS is not designed to work for local symbols. It may very well be an enhancement rather than a bug to get it working with local symbols, but given that

[Issue 9515] UFCS fails with local aliases

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9515 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2014-03-23 18:45:17 PDT --- (In reply to comment #4) UFCS is not designed to work for local symbols. [snip] Certainly, I don't know why we wouldn't implement this. My concern case is:

[Issue 12448] in argument for std.string.toStringz

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12448 --- Comment #1 from bearophile_h...@eml.cc 2014-03-23 20:17:01 PDT --- To avoid future possible problems with scope, using const string s is also enough. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 12448] New: in argument for std.string.toStringz

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12448 Summary: in argument for std.string.toStringz Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: enhancement Priority: P2

[Issue 12413] Infinite recursion of `Package::search`

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12413 kekeni...@yahoo.co.jp changed: What|Removed |Added CC||kekeni...@yahoo.co.jp ---

[Issue 12446] std.parallelism.amap prefer iteration to indexing

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12446 safety0ff.bugz safety0ff.b...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12444] std.array uninitializedArray minimallyInitializedArray missing APPENDABLE attribute / capacity info

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12444 safety0ff.bugz safety0ff.b...@gmail.com changed: What|Removed |Added Keywords||pull ---