[Issue 5931] keyword new insists on calling a struct's (non-zero argument) constructor--in other words, it won't allow default initialization; also postblit this(this) constructor dosen't get called f

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5931 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #2

[Issue 5932] Internal error: s2ir.c 339

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5932 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 5907] CTFE: Ref assignments are noop at compile time

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5907 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1330] Array slicing does not work the same way in CTFE as at runtime

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1330 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||andrej.mitrov...@gmail.com

[Issue 5760] Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at object._checkModCtors._findDependencies.object.ModuleInfo

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5760 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5867] Cannot put function attributes (const, pure, ...) on the right of an auto-return function

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5867 kenn...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4865] Post-position attributes cannot be used with auto return functions

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4865 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #1

[Issue 4865] Post-position attributes cannot be used with auto return functions

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4865 kenn...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4040] const/immutable on the right in auto return class methods

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4040 kenn...@gmail.com changed: What|Removed |Added CC||samu...@voliacable.com --- Comment

[Issue 5933] New: Cannot retrieve the return type of an auto-return member function

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5933 Summary: Cannot retrieve the return type of an auto-return member function Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW

[Issue 5891] hasLength!iota is false

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5891 --- Comment #3 from kenn...@gmail.com 2011-05-06 02:21:58 PDT --- (In reply to comment #2) Of course the DMD bug should be fixed but Iota is too important to fail, so this specific case has been worked around:

[Issue 5258] [CTFE] Stack overflow with struct by ref

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5258 bearophile_h...@eml.cc changed: What|Removed |Added Severity|normal |regression --- Comment #1

[Issue 5258] [CTFE] Stack overflow with struct by ref

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5258 --- Comment #2 from Don clugd...@yahoo.com.au 2011-05-06 04:09:57 PDT --- This is a pseudo-regression: it was never doing what it was supposed to. The test case happened to give the correct results on a previous version, but only because one

[Issue 5810] Struct postincrement generates 'no effect' error if used on struct member

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5810 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||diagnostic

[Issue 5934] New: Finite recursive templates are not allowed

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5934 Summary: Finite recursive templates are not allowed Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 5935] New: Non-tuple iteration with std.range.zip

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5935 Summary: Non-tuple iteration with std.range.zip Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: patch Severity: enhancement

[Issue 5934] Finite recursive templates are not allowed

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5934 --- Comment #1 from Maksim Zholudev maxim...@gmail.com 2011-05-06 07:55:47 PDT --- The following code works, but such workarounds are annoying: -- struct Foo { auto opUnary(string op)() if(op == -) { return

[Issue 3869] Unreasonable error without line number: recursive template expansion

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3869 Maksim Zholudev maxim...@gmail.com changed: What|Removed |Added CC||maxim...@gmail.com

[Issue 5934] Finite recursive templates are not allowed

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5934 Maksim Zholudev maxim...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5936] New: DMD Segfault when forward-referencing pure auto-return member function with parameter.

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5936 Summary: DMD Segfault when forward-referencing pure auto-return member function with parameter. Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status:

[Issue 4968] inout is sticky to function return type

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4968 --- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-05-06 09:21:13 PDT --- Created an attachment (id=964) test patch This patch only fix comment#1 case, but not support more cases (array, function, delegate, etc.) -- Configure issuemail:

[Issue 5935] Non-tuple iteration with std.range.zip

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5935 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #1

[Issue 5409] Disallow (!x y)

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5409 --- Comment #1 from bearophile_h...@eml.cc 2011-05-06 10:14:02 PDT --- Don seems to agree in catching this bug statically: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.Darticle_id=135741

[Issue 5930] cas doesn't work when used in code compiled with -D

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5930 Sean Kelly s...@invisibleduck.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 5872] core.demangle, core.sys.*, core.stdc.* not documented

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5872 Sean Kelly s...@invisibleduck.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 5935] Non-tuple iteration with std.range.zip

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5935 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC|

[Issue 5872] core.demangle, core.sys.*, core.stdc.* not documented

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5872 --- Comment #2 from kenn...@gmail.com 2011-05-06 11:21:47 PDT --- (In reply to comment #1) I'll take care of core.demangle. core.sys.* and core.stdc.* are interfaces for C libraries and I'd expect the user to refer to the documentation for

[Issue 5935] Non-tuple iteration with std.range.zip

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5935 --- Comment #4 from kenn...@gmail.com 2011-05-06 11:26:58 PDT --- (In reply to comment #3) I'm worried about this development. Before long we could get to the point where a lot of ranges get bloated to support two iteration methods because

[Issue 5872] core.demangle, core.sys.*, core.stdc.* not documented

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5872 Jacob Carlborg d...@me.com changed: What|Removed |Added CC||d...@me.com --- Comment

[Issue 5931] keyword new won't allow default initialization of a struct where it has a non-zero argument constructor

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5931 Christopher the Magnificent ultimatemacfana...@gmail.com changed: What|Removed |Added Summary|keyword new insists on

[Issue 5931] keyword new won't allow default initialization of a struct where it has a non-zero argument constructor

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5931 --- Comment #4 from kenn...@gmail.com 2011-05-06 12:47:28 PDT --- (In reply to comment #3) *Shouldn't* post-blit be invokable by calling File(file)? Wouldn't this be a desirable behavior? Sorry, got distracted by the 'this.file = new

[Issue 5931] keyword new won't allow default initialization of a struct where it has a non-zero argument constructor

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5931 --- Comment #5 from kenn...@gmail.com 2011-05-06 12:48:43 PDT --- (In reply to comment #4) (In reply to comment #3) [snip] At the line above marked DOESN'T WORK, the compiler refuses to allocate a new default-initialized File struct.

[Issue 5937] New: Problem with map!delegate(iota(floating point))

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5937 Summary: Problem with map!delegate(iota(floating point)) Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: wrong-code Severity: normal

[Issue 5937] Problem with map!delegate(iota(floating point))

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5937 --- Comment #1 from bearophile_h...@eml.cc 2011-05-06 15:18:27 PDT --- A better example for the second (bar) case, the problem seems in iota(): import std.range, std.algorithm; void main() { auto range2a = iota(1, 5, 1); int

[Issue 5490] DMDFE: Slim down warnings generated by GCC

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5490 --- Comment #12 from Iain Buclaw ibuc...@ubuntu.com 2011-05-06 16:10:49 PDT --- GCC-4.6 offers two new warning switches to catch redundant code: -Wunused-but-set-parameter and -Wunused-but-set-variable -- Configure issuemail:

[Issue 4968] inout is sticky to function return type

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4968 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Attachment #964 is|0 |1 obsolete|

[Issue 5938] New: ICE ztc\symbol.c 1043

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5938 Summary: ICE ztc\symbol.c 1043 Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: regression

[Issue 5939] New: Cannot copy std.algorithm.map

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5939 Summary: Cannot copy std.algorithm.map Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: regression

[Issue 5940] New: Cannot create arrays of std.algorithm.map

2011-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5940 Summary: Cannot create arrays of std.algorithm.map Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal