[Issue 2884] New: ICE: Assert: 'template.c', line 3773, 'global.errors'

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2884 Summary: ICE: Assert: 'template.c', line 3773, 'global.errors' Product: D Version: 1.041 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2883] New: array member call syntax fails when array is returned from "property" syntax

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2883 Summary: array member call syntax fails when array is returned from "property" syntax Product: D Version: 1.041 Platform: PC OS/Version: Windows Status: NEW

[Issue 1432] Bogus "overlapping initialization" error with structs, unions, and member initializers

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1432 --- Comment #1 from to...@famolsen.dk 2009-04-22 21:33 --- Another variation: union S { float[2] a; struct { union { float i = 1; float x; } union { float j = 2; float y; } } } $ dmd bar.d -c bar.d(2)

[Issue 2878] Forward reference error with circular import and nested classes

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2878 s...@iname.com changed: What|Removed |Added CC||s...@iname.com OtherBugsDependingO|

[Issue 2882] New: std.random.MersenneTwisterEngine without no seed

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2882 Summary: std.random.MersenneTwisterEngine without no seed Product: D Version: 2.029 Platform: PC OS/Version: Windows Status: NEW Severity: minor Priority: P4

[Issue 2881] New: x.stringof returns typeof(x).stringof when x is an enum

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2881 Summary: x.stringof returns typeof(x).stringof when x is an enum Product: D Version: 1.041 Platform: PC OS/Version: Windows Status: NEW Keywords: wrong-code Severit

[Issue 2807] Marking a nested function as 'pure' may cause bad code generations silently accepted

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2807 --- Comment #2 from clugd...@yahoo.com.au 2009-04-22 15:09 --- Created an attachment (id=335) --> (http://d.puremagic.com/issues/attachment.cgi?id=335&action=view) Patch against 2.029. Includes patch for the related bug 2695, as well

[Issue 2807] Marking a nested function as 'pure' may cause bad code generations silently accepted

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2807 --- Comment #1 from clugd...@yahoo.com.au 2009-04-22 15:07 --- And here's a patch. This makes it safe to have nested pure functions. A nested pure function is only permitted to access its own variables, plus immutables and manifest co

[Issue 2880] New: DMD is generating the wrong file & line number for a (new) phobos error in conv.text. traits.d:1011 conv.d:2454

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2880 Summary: DMD is generating the wrong file & line number for a (new) phobos error in conv.text. traits.d:1011 conv.d:2454 Product: D Version: 2.029 Platform: PC

[Issue 2879] New: std.bigint missing from phobos

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2879 Summary: std.bigint missing from phobos Product: D Version: 2.029 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Pho

[Issue 1929] concatenation of multi-dimensional arrays fails when holding static arrays

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1929 --- Comment #1 from clugd...@yahoo.com.au 2009-04-22 10:04 --- Works for me D2.029 and 1.042. --

[Issue 302] in/out contract inheritance yet to be implemented

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=302 --- Comment #7 from s...@iname.com 2009-04-22 09:53 --- (In reply to comment #6) > So please, please, please, don't change the specs, fix the implementation. I entirely agree. Moreover, I proposed a strategy more than 3 years ago. S

[Issue 2878] New: Forward reference

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2878 Summary: Forward reference Product: D Version: 1.042 Platform: PC OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedT

[Issue 302] in/out contract inheritance yet to be implemented

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=302 --- Comment #6 from llu...@gmail.com 2009-04-22 08:35 --- (In reply to comment #5) > (In reply to comment #4) > > The spec specifies what the code should do, but the code being generated > > does > > something else. How is that not th

[Issue 302] in/out contract inheritance yet to be implemented

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=302 clugd...@yahoo.com.au changed: What|Removed |Added Keywords||spec --- Comment #5 from c

[Issue 2876] suggest keyword:auto return

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2876 --- Comment #1 from fvbom...@wxs.nl 2009-04-22 07:56 --- *** Bug 2877 has been marked as a duplicate of this bug. *** --

[Issue 2876] suggest keyword:auto return

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2876 fvbom...@wxs.nl changed: What|Removed |Added Summary|suggest keyword:auto return |suggest keyword:auto return ---

[Issue 2877] suggest keyword:auto return

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2877 fvbom...@wxs.nl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 2876] New: suggest keyword:auto return

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2876 Summary: suggest keyword:auto return Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component:

[Issue 2877] New: suggest keyword:auto return

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2877 Summary: suggest keyword:auto return Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component:

[Issue 302] in/out contract inheritance yet to be implemented

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=302 --- Comment #4 from fvbom...@wxs.nl 2009-04-22 07:41 --- The spec specifies what the code should do, but the code being generated does something else. How is that not the very definition of wrong-code? (This probably falls in the "the

[Issue 302] in/out contract inheritance yet to be implemented

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=302 --- Comment #3 from clugd...@yahoo.com.au 2009-04-22 07:34 --- (In reply to comment #2) > "it's not bad code generation" - how do you work that out? Bad code generation generally means the front-end is sending incorrect data to the ba

[Issue 302] in/out contract inheritance yet to be implemented

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=302 --- Comment #2 from s...@iname.com 2009-04-22 06:46 --- "it's not bad code generation" - how do you work that out? --

[Issue 302] in/out contract inheritance yet to be implemented

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=302 clugd...@yahoo.com.au changed: What|Removed |Added Keywords|wrong-code | --- Comment #1 from clugd

[Issue 2339] Inconsistent behaviour referring to template mixin member at compile time

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2339 --- Comment #1 from matti.niemenmaa+dbugzi...@iki.fi 2009-04-22 03:51 --- I've been investigating this a bit and the issue seems to be that VarDeclaration::needThis() returns true for x; if I make it return false instead, the code co

[Issue 2695] pure functions can invoke impure function pointers

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2695 --- Comment #1 from clugd...@yahoo.com.au 2009-04-22 03:30 --- Created an attachment (id=334) --> (http://d.puremagic.com/issues/attachment.cgi?id=334&action=view) Patch for DMD2.029. This patch also prevents pure functions from cal

digitalmars-d-bugs@puremagic.com

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2875 Summary: ICE(cgcod.c) setting delegate = &Struct.func Product: D Version: 2.029 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code, wrong-code

[Issue 2874] New: phobos docs issues

2009-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2874 Summary: phobos docs issues Product: D Version: 2.029 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos