[Issue 6211] __traits (compile) return wrong result when the bug happen

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6211 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 6286] New: Static arrays can not be assigned from const(T)[N] to T[N]

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6286 Summary: Static arrays can not be assigned from const(T)[N] to T[N] Product: D Version: unspecified Platform: Other OS/Version: Windows Status: NEW

[Issue 6286] Static arrays can not be assigned from const(T)[N] to T[N]

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6286 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 6286] Static arrays can not be assigned from const(T)[N] to T[N]

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6286 --- Comment #2 from S�nke Ludwig lud...@informatik.uni-luebeck.de 2011-07-11 04:09:49 PDT --- Note that in the test case both, the source and the destination are static arrays of the same size. There is no reason why a direct assignment should

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #3 from Stewart Gordon s...@iname.com 2011-07-11 04:21:01 PDT --- I disagree. The primary purpose of casting is simply to force an expression to a specified type. This cast may or may not be legal. For example, you can't cast

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #4 from Stewart Gordon s...@iname.com 2011-07-11 04:28:28 PDT --- On the other hand, I can't see anybody wanting what actually happens when you try casting an object array to an interface array. And it's an easy mistake to

[Issue 6192] std.algorithm.sort performance

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6192 --- Comment #4 from bearophile_h...@eml.cc 2011-07-11 04:58:06 PDT --- Thank you for your work. The new timings (after pull 74): sort-sort2 benchmarks (milliseconds), N=600: Random distribution: sort:1261 sort2: 1201

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #5 from yebblies yebbl...@gmail.com 2011-07-11 23:36:00 EST --- I do understand, but nothing you've said changes the fact that the behavior is completely intentional. Cast is, as always, a blunt instrument that bypasses the type

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #6 from Stewart Gordon s...@iname.com 2011-07-11 06:45:20 PDT --- (In reply to comment #5) I do understand, but nothing you've said changes the fact that the behavior is completely intentional. What is your source for this fact?

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #7 from yebblies yebbl...@gmail.com 2011-07-12 00:38:32 EST --- (In reply to comment #6) (In reply to comment #5) I do understand, but nothing you've said changes the fact that the behavior is completely intentional.

[Issue 6286] Regression(2.054): Static arrays can not be assigned from const(T)[N] to T[N]

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6286 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||patch, rejects-valid

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Keywords|wrong-code |

[Issue 6026] DLL example needs update due to missing core.dll_helper

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6026 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6021] std.net.isemail missing from dpl.org

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6021 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Summary|std.parallelism missing

[Issue 5869] std.thread needs to be removed

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5869 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 5836] std.typetuple.staticIndexOf's example code missing %s in call to writefln

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5836 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5598] rdmd does not fail on invalid filename

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5598 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 5458] scope for function parameters is not documented

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5458 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5059] String assignment in foreach loop breaks immutability

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5059 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6101] Documentation for dead modules still distributed with DMD

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6101 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6286] Regression(2.054): Static arrays can not be assigned from const(T)[N] to T[N]

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6286 --- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2011-07-11 08:48:22 PDT --- Ah yes. I didn't read carefully enough. If both src and dst are static arrays, then dst = src; should work. It's when one is a dynamic array that it

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #10 from Steven Schveighoffer schvei...@yahoo.com 2011-07-11 09:08:48 PDT --- (In reply to comment #9) On a semi-related but not all that related note Interesting :) I would point out to Steven that Kenji has made pull

[Issue 6287] New: function pointers to non-static function without an object-instance

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6287 Summary: function pointers to non-static function without an object-instance Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW

[Issue 6287] function pointers to non-static function without an object-instance

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6287 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3720] Taking address of member functions possible without an instance

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||suicide...@xited.de ---

[Issue 6277] Disallow short floating point literals

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6277 --- Comment #4 from bearophile_h...@eml.cc 2011-07-11 09:55:45 PDT --- Steven Schveighoffer reminds this is probably OK (this compiles with DMD 2.054): void main() { auto x = 1f; static assert(is(typeof(x) == float)); } -- Configure

[Issue 4407] Catch wrong argument-attribute assignments in methods

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 --- Comment #4 from bearophile_h...@eml.cc 2011-07-11 10:03:16 PDT --- One example of bug related to x=x; found inside the good QT libs: PassRefPtrStructure Structure::getterSetterTransition(Structure* structure) { ... RefPtrStructure

[Issue 6288] New: std.conv.to removes const/immutable when converting a class

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6288 Summary: std.conv.to removes const/immutable when converting a class Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #11 from Steven Schveighoffer schvei...@yahoo.com 2011-07-11 10:20:10 PDT --- (In reply to comment #10) Actually, I'm looking at std.conv.to in that pull request and see a significant bug, because cast is so dangerous! (will

[Issue 6284] [Regression 2.054] 'pure' does not work with 'with' statement

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6284 kenn...@gmail.com changed: What|Removed |Added Keywords||patch --- Comment #2 from

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 --- Comment #12 from Stewart Gordon s...@iname.com 2011-07-11 14:41:54 PDT --- (In reply to comment #8) IMO, cast should be reserved for specifically I know what I'm doing stuff. dynamic cast (casting from a base to derived class) should

[Issue 2270] cast produces invalid arrays at runtime

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2270 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 6289] New: Make slices of const/immutable arrays mutable (but keep the elements const/immutable)

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6289 Summary: Make slices of const/immutable arrays mutable (but keep the elements const/immutable) Product: D Version: unspecified Platform: All OS/Version: All

[Issue 4890] GC.collect() deadlocks multithreaded program.

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4890 Jakob Bornecrantz wallbra...@gmail.com changed: What|Removed |Added CC|

[Issue 6290] New: GC breaks if a thread is allocated on Mac OSX

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6290 Summary: GC breaks if a thread is allocated on Mac OSX Product: D Version: D1 Platform: Other OS/Version: Mac OS X Status: NEW Severity: blocker Priority: P2

[Issue 6290] GC breaks if a thread is allocated on Mac OSX

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6290 Jakob Bornecrantz wallbra...@gmail.com changed: What|Removed |Added Priority|P2 |P1 --

[Issue 6291] New: Warn on likely hex literal bug

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6291 Summary: Warn on likely hex literal bug Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2

[Issue 6291] Warn on likely hex literal bug

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6291 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6292] New: HTOD hides constants behind a comment

2011-07-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6292 Summary: HTOD hides constants behind a comment Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: major Priority: P2 Component: