[Issue 8467] A different third signature for std.algorithm.count

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8467 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8471] New: std.stdio.readf

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8471 Summary: std.stdio.readf Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos

[Issue 8469] isSorted fails with predicate a.length b.length ? true : a b

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8469 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC|

[Issue 8471] std.stdio.readf

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8471 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8471] std.stdio.readf

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

[Issue 8469] isSorted fails with predicate a.length b.length ? true : a b

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

[Issue 8469] isSorted fails with predicate a.length b.length ? true : a b

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8469 --- Comment #3 from Andrei Alexandrescu and...@metalanguage.com 2012-07-30 07:28:01 PDT --- What did I just read? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 8469] isSorted fails with predicate a.length b.length ? true : a b

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8469 --- Comment #4 from bearophile_h...@eml.cc 2012-07-30 08:09:53 PDT --- (In reply to comment #3) What did I just read? An insightful answer and a solution to your problem :-) -- Configure issuemail:

[Issue 8471] std.stdio.readf should be @trusted

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8471 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 klickverbot c...@klickverbot.at changed: What|Removed |Added CC||c...@klickverbot.at

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 --- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-07-30 08:56:24 PDT --- (In reply to comment #1) Do you mean, that the context pointer would be the frame pointer of the function which made the call? (rather than the frame pointer of

[Issue 8472] New: Replace walkLength() with an improved count()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8472 Summary: Replace walkLength() with an improved count() Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 8467] A different third signature for std.algorithm.count

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8467 --- Comment #2 from bearophile_h...@eml.cc 2012-07-30 09:09:08 PDT --- (In reply to comment #1) Nice idea, but breaks existing code. Thank you for the answer. I think around there isn't much code uses that count() with no argument for its

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC|

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 --- Comment #5 from Andrei Alexandrescu and...@metalanguage.com 2012-07-30 09:22:57 PDT --- I'd personally prefer more explicit handling by the programmer instead of more powerful built-in frame pointer management. At this point I'm unclear on

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added See Also|

[Issue 5710] cannot use delegates as parameters to non-global template

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5710 --- Comment #13 from Andrei Alexandrescu and...@metalanguage.com 2012-07-30 09:38:34 PDT --- I think Kenji's design is very promising. I assume it uses static arrays, i.e. no dynamic allocation. On the other hand, we need to think this through

[Issue 5466] Associative array byPair

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5466 --- Comment #4 from bearophile_h...@eml.cc 2012-07-30 09:36:03 PDT --- See also Issue 8473 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 8473] New: Guaranteed relative key-values with byKey and byValue

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8473 Summary: Guaranteed relative key-values with byKey and byValue Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 --- Comment #7 from Kenji Hara k.hara...@gmail.com 2012-07-30 10:04:28 PDT --- Module level template struct *is inferred* whether it's really nested or not. struct Map(alias pred, Range) { Range input; this(Range r) { input = r; }

[Issue 3960] Unused local variables not reported

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3960 rswhi...@googlemail.com changed: What|Removed |Added CC||rswhi...@googlemail.com ---

[Issue 8469] isSorted fails with predicate a.length b.length ? true : a b

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8469 --- Comment #6 from bearophile_h...@eml.cc 2012-07-30 10:37:10 PDT --- (In reply to comment #5) I definitely think that it makes the most sense to make isSorted assert on bad predicates and have it clearly state that predicate was bad

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 --- Comment #9 from Kenji Hara k.hara...@gmail.com 2012-07-30 10:37:25 PDT --- (In reply to comment #8) (In reply to comment #7) But nested struct (declared in function body) cannot receive such treatment. Why can't it? The nested struct

[Issue 3960] Unused local variables not reported

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3960 --- Comment #31 from bearophile_h...@eml.cc 2012-07-30 10:38:23 PDT --- (In reply to comment #30) Code: http://dpaste.dzfl.pl/c5f1d2ba Some of my testcases: http://dpaste.dzfl.pl/f74da85e Paste sites eventually lose their content. That's

[Issue 8469] isSorted fails with predicate a.length b.length ? true : a b

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8469 --- Comment #7 from Jonathan M Davis jmdavisp...@gmx.com 2012-07-30 10:39:15 PDT --- How do you do this? I don't know, but from Andrei's comment, he seems to think that it's possible. -- Configure issuemail:

[Issue 5939] Cannot copy std.algorithm.map

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5939 --- Comment #17 from github-bugzi...@puremagic.com 2012-07-30 10:42:37 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 8469] isSorted fails with predicate a.length b.length ? true : a b

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8469 --- Comment #8 from Andrei Alexandrescu and...@metalanguage.com 2012-07-30 10:47:16 PDT --- It's very simple, if isSorted finds two adjacent elements a, b that satisfy pred(b, a) it can also check whether pred(a, b) and assert if that's also

[Issue 8474] New: bitfields doesn't work with bitfield over 31 bits

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8474 Summary: bitfields doesn't work with bitfield over 31 bits Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8463] Nested template static struct should work as like module level ones

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8463 --- Comment #11 from klickverbot c...@klickverbot.at 2012-07-30 11:12:35 PDT --- (In reply to comment #10) (In reply to comment #7) But nested struct (declared in function body) cannot receive such treatment. Why can't it? The

[Issue 8428] [2.060 beta] ByLine - Map - Filter

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8428 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5939] Cannot copy std.algorithm.map

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5939 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 8475] New: postblits fails attributes qualifying when in a template.

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8475 Summary: postblits fails attributes qualifying when in a template. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: critical

[Issue 8476] New: float comparison operand not truncated from real

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8476 Summary: float comparison operand not truncated from real Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 8476] float comparison operand not truncated from real

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8476 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 8477] New: [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477 Summary: [2.060 beta] Strange error calling member func from overridden Exception::toString() Product: D Version: unspecified Platform: All OS/Version: All Status:

[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8476] float comparison operand not truncated from real

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8476 --- Comment #3 from Ellery Newcomer ellery-newco...@utulsa.edu 2012-07-30 16:09:48 PDT --- (In reply to comment #1) I'm not sure what the issue is here. Can you point to what you think it should be doing? Also, the compiler is allowed to

[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477 --- Comment #4 from Kenji Hara k.hara...@gmail.com 2012-07-30 17:27:36 PDT --- (In reply to comment #2) (In reply to comment #1) So it's either invalid report or request for better diagnostics. Your second point is implicit as the

[Issue 3866] anonymous delegate with default parameters cross-talks to another anonymous delegate

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3866 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8476] float comparison operand not truncated from real

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8476 --- Comment #4 from Walter Bright bugzi...@digitalmars.com 2012-07-30 20:58:21 PDT --- f is of type float. z is of type chromosome. Where are they the same types? -- Configure issuemail:

[Issue 8476] float comparison operand not truncated from real

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8476 --- Comment #5 from Walter Bright bugzi...@digitalmars.com 2012-07-30 21:00:54 PDT --- (In reply to comment #2) (In reply to comment #1) The compiler is always allowed to use a higher precision for intermediate calculations than the

[Issue 8479] New: dmd and the spec do not match with regards to the list of named character entities that they support

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8479 Summary: dmd and the spec do not match with regards to the list of named character entities that they support Product: D Version: unspecified Platform: All OS/Version: All