[Issue 8299] New: segfault on incorrect (?) module declaration

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8299 Summary: segfault on incorrect (?) module declaration Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Compon

[Issue 8106] func.stringof with default args

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #16 from Kenji Hara 2012-06-25 20:49:35 PDT --- (In reply to comment #15) > How about: > > 1. reverting the > > is(typeof(foo) P == function) > > to the old 2.059 behavior of being a type tuple only. I think it is necessary

[Issue 8106] func.stringof with default args

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #15 from Walter Bright 2012-06-25 19:32:45 PDT --- How about: 1. reverting the is(typeof(foo) P == function) to the old 2.059 behavior of being a type tuple only. 2. adding a "parameters" to traits, so that: __traits(p

[Issue 8297] Cannot access front of array with immutable elements

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8297 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6336] Can't return ref T where T has const/immutable members

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6336 Jonathan M Davis changed: What|Removed |Added CC||r...@d-coding.com --- Comment #4 fr

[Issue 8276] [CTFE] ICE when reading variable from nested function

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8276 --- Comment #1 from github-bugzi...@puremagic.com 2012-06-25 14:55:30 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/02d3d195757654a77f7fb79dda692834c5b35aa

[Issue 8292] segfaults on out contract

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8292 --- Comment #1 from Tobias Pankrath 2012-06-25 13:45:06 PDT --- Using arrays instead of Array!T it segfaults if this[lit] is used in watch. If I write _watchlist[lit] instead it works -- Configure issuemail: http://d.puremagic.com/issues/use

[Issue 8298] New: dirEntries special linux file in Home di

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8298 Summary: dirEntries special linux file in Home di Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 C

[Issue 8297] New: Cannot access front of array with immutable elements

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8297 Summary: Cannot access front of array with immutable elements Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 8296] New: @disable this propagates through reference

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8296 Summary: @disable this propagates through reference Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Componen

[Issue 8295] New: Struct member destructor can not be called from shared struct instance

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8295 Summary: Struct member destructor can not be called from shared struct instance Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Fawzi Mohamed changed: What|Removed |Added CC||fa...@gmx.ch --- Comment #24 from Fawz

[Issue 8294] New: complex breaks calling in 64 bit DMD

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8294 Summary: complex breaks calling in 64 bit DMD Product: D Version: D1 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component:

[Issue 8293] New: Small amount of static analysis to avoid certain destructor bugs

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8293 Summary: Small amount of static analysis to avoid certain destructor bugs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhan

[Issue 5550] std.range.enumerate()

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5550 --- Comment #3 from bearophile_h...@eml.cc 2012-06-25 04:21:59 PDT --- See also Issue 8155 -- enumerate and AA.byPair() are also handy when you need to count associative array key-value pairs: foreach (i, k, v; associativeArray.byPair

Re: [Issue 8285] Error passing CTFE-generated string slice to template value parameter

2012-06-25 Thread Max Samukha
Another test case. The error is different but the root cause must be the same. string bar() { string s = "ab"; return s[0..$]; } template T1() { enum T1 = bar()[0..$]; // error } string baz() { return T1!(); } string foo(string s) { return s; } static assert(foo(baz()) ==