[Issue 5039] New: Cannot use invariant() with auto methods

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5039 Summary: Cannot use invariant() with auto methods Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: minor Priority: P2

[Issue 5040] New: opOpAssign should be automatically visible for types.

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5040 Summary: opOpAssign should be automatically visible for types. Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 3092] Indexing a tuple produces a tuple containing the indexed element

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3092 --- Comment #6 from Manuel K�nig manuel...@gmx.net 2010-10-11 08:12:47 PDT --- Created an attachment (id=782) Patch for this bug created with svn diff mtype.c, apply in the frontend directory -- Configure issuemail:

[Issue 3092] Indexing a tuple produces a tuple containing the indexed element

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3092 --- Comment #7 from Manuel K�nig manuel...@gmx.net 2010-10-11 08:17:19 PDT --- Created an attachment (id=783) Testcase for dstress, add to dstress/compile/t I'm not sure about the numbering scheme in dstress, I just used the next free

[Issue 3092] Indexing a tuple produces a tuple containing the indexed element

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3092 --- Comment #8 from Manuel K�nig manuel...@gmx.net 2010-10-11 08:17:55 PDT --- I have now fixed the bug, it's a trivial 7 line patch which teaches TypeSArray::resolve(...) to recognize if it's indexing a type element. Without the patch,

[Issue 3278] Empty tuples don't match

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3278 Manuel K�nig manuel...@gmx.net changed: What|Removed |Added CC||manuel...@gmx.net

[Issue 3278] Empty tuples don't match

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3278 Manuel K�nig manuel...@gmx.net changed: What|Removed |Added Keywords|wrong-code |diagnostic

[Issue 3279] Type tuple comparison fails

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3279 --- Comment #2 from Manuel K�nig manuel...@gmx.net 2010-10-11 10:24:49 PDT --- *** Issue 3278 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 3085] Cannot index tuple in declaration

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3085 Manuel K�nig manuel...@gmx.net changed: What|Removed |Added CC||samu...@voliacable.com

[Issue 1503] Type aliases and tuples of template instances

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1503 Manuel K�nig manuel...@gmx.net changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2446] parser rejects indexed tuple as type in Type.StaticMember syntax

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2446 Manuel K�nig manuel...@gmx.net changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3085] Cannot index tuple in declaration

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3085 Manuel K�nig manuel...@gmx.net changed: What|Removed |Added CC|

[Issue 3546] Aliasing an element of a static array should be legal if the index is a compile time constant

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3546 Manuel K�nig manuel...@gmx.net changed: What|Removed |Added CC||manuel...@gmx.net ---

[Issue 4375] Require explicit braces when 'else' is ambiguous

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4375 --- Comment #13 from bearophile_h...@eml.cc 2010-10-11 13:09:16 PDT --- Just for reference this is what Wikipedia says about the Ada language: Conditional statements are closed with end if, avoiding a dangling else that could pair with the

[Issue 5002] possible std.stream improvements

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5002 --- Comment #2 from Daniel Gibson metalcae...@gmail.com 2010-10-11 13:20:40 PDT --- It will probably be deprecated, but at this time it isn't (there is no alternative yet, anyway). However I just realized that my idea for read() can't be

[Issue 4725] std.algorithm.sum()

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4725 --- Comment #1 from bearophile_h...@eml.cc 2010-10-11 13:33:52 PDT --- One test case for sum(): import std.algorithm: sum; void main() { bool[] array = [true, false, true, true]; assert(sum(array) == 3); } Currently this doesn't

[Issue 5041] New: Cannot check functor in template constraint

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5041 Summary: Cannot check functor in template constraint Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: minor

[Issue 5043] New: writeln with empty arrays should write something useful

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5043 Summary: writeln with empty arrays should write something useful Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement

[Issue 5043] writeln with empty arrays should write something useful

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

[Issue 3813] Bad writeln of arrays

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3813 --- Comment #7 from bearophile_h...@eml.cc 2010-10-11 16:20:06 PDT --- See also bug 5043 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 5045] New: auto type inference for nest function

2010-10-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5045 Summary: auto type inference for nest function Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2