[Issue 1475] allow to use intrinsic math functions (e.g. trigonometry) in CTFEs

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1475 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 1994] Assertion failure: 't-deco' on line 597 in file 'mtype.c'

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1994 --- Comment #8 from ma...@pochta.ru 2009-04-06 06:12 --- Possibly related to bug 339 --

[Issue 1731] forward reference of function type alias resets calling convention

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1731 ma...@pochta.ru changed: What|Removed |Added Severity|normal |critical --- Comment #2 from

[Issue 2085] CTFE fails if the function is forward referenced

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2085 --- Comment #1 from ma...@pochta.ru 2009-04-06 06:19 --- another example enum { a=b() } int b(){ return 0; } --

[Issue 2804] Impure nested functions should be legal inside pure functions[patch included]

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2804 --- Comment #1 from clugd...@yahoo.com.au 2009-04-06 06:30 --- Created an attachment (id=315) -- (http://d.puremagic.com/issues/attachment.cgi?id=315action=view) patch for 2804 This allows pure functions to call their own nested

[Issue 2805] New: Many modules not labbeled as system

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2805 Summary: Many modules not labbeled as system Product: D Version: 2.026 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component:

[Issue 2806] New: enum member cannot be forward referenced

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2806 Summary: enum member cannot be forward referenced Product: D Version: 2.023 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal

[Issue 2808] New: 'nothrow' nested functions cannot be parsed

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2808 Summary: 'nothrow' nested functions cannot be parsed Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity:

[Issue 2809] New: Wrong code for unsigned shift

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2809 Summary: Wrong code for unsigned shift Product: D Version: 2.027 Platform: PC URL: http://www.digitalmars.com/webnews/newsgroups.php?art_gr

[Issue 2805] Many modules not labbeled as system

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2805 --- Comment #1 from jarrett.billings...@gmail.com 2009-04-06 10:07 --- How is labbel formed? --

[Issue 2812] New: sqrt(2.0) is about -2.7341e-53

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 Summary: sqrt(2.0) is about -2.7341e-53 Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 2808] 'nothrow' nested functions cannot be parsed

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2808 clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch --- Comment #1

[Issue 2811] New: mixin fields not visible inside mixin method

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2811 Summary: mixin fields not visible inside mixin method Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2811] mixin fields not visible inside mixin method

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2811 2kor...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 clugd...@yahoo.com.au changed: What|Removed |Added Severity|normal |regression --- Comment

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 --- Comment #2 from dsim...@yahoo.com 2009-04-06 14:19 --- Yes. Also, this seems to happen only for sqrt(double) not sqrt(float) or sqrt(real). --

[Issue 1927] dmd SEGV when passing invalid symbol as parameter

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1927 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 52] ambiguous function pointer silently accepted

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=52 --- Comment #8 from s...@iname.com 2009-04-07 06:25 --- No. If you actually read this bug, you'll see that it isn't about lines 11 and 26, but about the fact that ambiguous function pointers are silently accepted. The errors should

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 clugd...@yahoo.com.au changed: What|Removed |Added Keywords|patch | --- Comment #2 from

[Issue 2817] optlink crashes because of utf8 string?

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2817 --- Comment #1 from dav...@126.com 2009-04-07 05:00 --- Created an attachment (id=317) -- (http://d.puremagic.com/issues/attachment.cgi?id=317action=view) testutf.d dmd -g works, dmd testutf.d makes optlink crash --

[Issue 2805] Many modules not labbeled as system

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2805 --- Comment #2 from bary...@smp.if.uj.edu.pl 2009-04-07 07:00 --- http://www.digitalmars.com/d/2.0/module.html#ModuleDeclaration --

[Issue 1309] sorting arrays of structs is broken

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1309 --- Comment #3 from g...@nwawudu.com 2009-04-07 04:13 --- The documentation for structs in associative array mentions that opCmp should be declared as 'int opCmp(ref const MyStruct x) const', this definition should be applied to

[Issue 2817] New: optlink crashes because of utf8 string?

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2817 Summary: optlink crashes because of utf8 string? Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 52] ambiguous function pointer silently accepted

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=52 --- Comment #7 from g...@nwawudu.com 2009-04-07 05:31 --- (In reply to comment #6) The example below does not compile... The example in the issue description does not compile anymore. Has this issue been fixed and is it ok to close

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 --- Comment #4 from clugd...@yahoo.com.au 2009-04-07 10:47 --- (In reply to comment #3) Don, LDC already implemented template instantiation traces. Check StaticAssert::semantic2 and TemplateInstance::printInstantiationTrace. I

[Issue 2816] Sudden-death static assert is not very useful

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 --- Comment #5 from shro8...@vandals.uidaho.edu 2009-04-07 11:07 --- For that matter, if template errors could all be given optional (some flag?) stack traces (not just chained errors) that would be cool. I'm thinking somthing

[Issue 2819] array.sort segfaults if array length =0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 --- Comment #4 from matti.niemenmaa+dbugzi...@iki.fi 2009-04-07 15:17 --- http://www.dsource.org/projects/tango/ticket/571 has some old numbers. --

[Issue 2819] array.sort segfaults if array length =0x8F_FFFF

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

[Issue 2819] New: array.sort segfaults if array length =0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 Summary: array.sort segfaults if array length =0x8F_ Product: D Version: 1.042 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2819] array.sort segfaults if array length =0x8F_FFFF

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2819 --- Comment #5 from s...@iname.com 2009-04-07 16:19 --- (In reply to comment #3) I agree. By the way, if anyone has run numbers on the relative speeds of various sort implementations, please share. What's a run number? Anyway,

[Issue 2820] New: itoa and ultoa functions are missing in Phobos

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2820 Summary: itoa and ultoa functions are missing in Phobos Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 2792] Enum manifest constants and string produces errors

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2792 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 2559] bad code generation for enum arrays

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2559 clugd...@yahoo.com.au changed: What|Removed |Added Severity|normal |blocker Keywords|

[Issue 2559] bad code generation for enum arrays

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2559 clugd...@yahoo.com.au changed: What|Removed |Added CC||g...@nwawudu.com ---

[Issue 2559] bad code generation for enum arrays

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2559 --- Comment #3 from clugd...@yahoo.com.au 2009-04-08 02:20 --- Possible the same as bug 1884. --

[Issue 840] incorrect code generation for asm{fidv ST(1), ST;}

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=840 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 1681] cast(real) ulong.max == 0

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1681 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 2318] flaw code generation building a function pointer table

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2318 clugd...@yahoo.com.au changed: What|Removed |Added Severity|normal |critical --- Comment #1

[Issue 2816] Sudden-death static assert is not very useful

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 --- Comment #6 from kamm-removet...@incasoftware.de 2009-04-08 07:43 --- Created an attachment (id=318) -- (http://d.puremagic.com/issues/attachment.cgi?id=318action=view) template instantiation trace patch patch against DMD

[Issue 2356] array literal as non static initializer generates horribly inefficient code.

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2356 clugd...@yahoo.com.au changed: What|Removed |Added Keywords|wrong-code |performance --- Comment

[Issue 2821] New: struct alignment inconsistent with C for { int, long }

2009-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2821 Summary: struct alignment inconsistent with C for { int, long } Product: D Version: 1.043 Platform: PC OS/Version: Linux Status: NEW Keywords: wrong-code Severity:

[Issue 2821] struct alignment inconsistent with C for { int, long }

2009-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2821 --- Comment #2 from to...@famolsen.dk 2009-04-09 05:33 --- DMD on Win32 should obviously match DMC, but DMD on other platforms should match the companion C compiler there, which is GCC. GCC on x86-32 aligns int64 to 4 bytes (at

[Issue 2824] New: -w switch breaks compilation

2009-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2824 Summary: -w switch breaks compilation Product: D Version: 2.027 Platform: PC URL: http://www.digitalmars.com/webnews/newsgroups.php?art_gr

[Issue 2825] New: Guideline for semianonymous structs and unions

2009-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2825 Summary: Guideline for semianonymous structs and unions Product: D Version: 2.027 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P3

[Issue 2826] New: failed assignment gives wrong line number

2009-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2826 Summary: failed assignment gives wrong line number Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Keywords: diagnostic, patch Severity:

[Issue 1441] Allow 'private' to restrict class visibility outside module or outer class

2009-04-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1441 --- Comment #2 from jarrett.billings...@gmail.com 2009-04-10 14:05 --- That's an entirely separate issue from this enhancement request. The spec also does not say that 'pointless' attributes should trigger an error, so I don't see

[Issue 2830] private attribute doesn't work for structs/unions/classes

2009-04-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2830 s...@iname.com changed: What|Removed |Added Version|2.027 |1.043 --- Comment #3 from

[Issue 1441] Allow 'private' to restrict class visibility outside module or outer class

2009-04-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1441 --- Comment #3 from s...@iname.com 2009-04-10 14:34 --- (In reply to comment #2) That's an entirely separate issue from this enhancement request. The spec also does not say that 'pointless' attributes should trigger an error, so

[Issue 2830] private attribute doesn't work for structs/unions/classes

2009-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2830 --- Comment #4 from g...@nwawudu.com 2009-04-11 04:11 --- tmp.d - import tmp1; void main() { TestStruct s; TestUnion u; auto c = new TestClass; s.var = var; // Fails s.var = a.var; // OK // Typo.

[Issue 2830] private attribute doesn't work for structs/unions/classes

2009-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2830 ma...@pochta.ru changed: What|Removed |Added URL||http://www.digitalmars.com/d

[Issue 2828] Typedef'ed template struct incorrectly recognized as an inner struct

2009-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2828 --- Comment #1 from unkn...@simplemachines.org 2009-04-11 14:57 --- Created an attachment (id=321) -- (http://d.puremagic.com/issues/attachment.cgi?id=321action=view) Remove incorrect cast, resolve basetype. This patch fixes it, so

[Issue 2833] New: DMD returns -1073741819 on Intel Quadcore

2009-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2833 Summary: DMD returns -1073741819 on Intel Quadcore Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P3

[Issue 2833] DMD returns -1073741819 on Intel Quadcore

2009-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2833 unkn...@simplemachines.org changed: What|Removed |Added CC||unkn...@simplemachines.org

[Issue 2833] DMD returns -1073741819 on Intel Quadcore

2009-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2833 --- Comment #3 from 2kor...@gmail.com 2009-04-12 19:28 --- FWIW, I have Windows 7 and Core 2 Duo. DMD always returns 0. --

[Issue 2833] DMD returns -1073741819 on Intel Quadcore

2009-04-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2833 --- Comment #5 from webmas...@aj-productions.de 2009-04-13 03:40 --- (In reply to comment #1) (WTF it's completely unnecessary to put all these corporate trademark tags in a bug report ;) I was just giving the full CPU name string

[Issue 1702] ICE when identifier is undefined

2009-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1702 --- Comment #5 from clugd...@yahoo.com.au 2009-04-14 04:57 --- *** Bug 1916 has been marked as a duplicate of this bug. *** --

[Issue 2789] Compiler allows for method with the same signature

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

[Issue 2835] std.socket.TcpSocket.connect doesn't actually connect

2009-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2835 unkn...@simplemachines.org changed: What|Removed |Added CC||unkn...@simplemachines.org

[Issue 2837] New: OPTLINK and LARGEADDRESSAWARE

2009-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2837 Summary: OPTLINK and LARGEADDRESSAWARE Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2838] New: std.file.rmdirRecurse fails

2009-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2838 Summary: std.file.rmdirRecurse fails Product: D Version: 2.027 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos

[Issue 2835] std.socket.TcpSocket.connect doesn't actually connect

2009-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2835 --- Comment #3 from unkn...@simplemachines.org 2009-04-15 21:03 --- Created an attachment (id=324) -- (http://d.puremagic.com/issues/attachment.cgi?id=324action=view) Set sin_family properly. Pruning down some C-style socket code,

[Issue 2838] std.file.rmdirRecurse fails

2009-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2838 unkn...@simplemachines.org changed: What|Removed |Added CC||unkn...@simplemachines.org

[Issue 718] ICE with int /= cast(creal)

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=718 clugd...@yahoo.com.au changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 2840] New: Missing line number for int %= complex

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2840 Summary: Missing line number for int %= complex Product: D Version: 1.042 Platform: PC OS/Version: Windows Status: NEW Keywords: diagnostic Severity: minor

[Issue 934] Segfault taking mangleof a forward reference in a template.

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=934 clugd...@yahoo.com.au changed: What|Removed |Added Summary|forward reference by|Segfault taking mangleof a

[Issue 2841] New: char[] template value arguments broken in D2

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2841 Summary: char[] template value arguments broken in D2 Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity:

[Issue 2842] New: std.file.listdir on OSX produces invalid UTF-8 sequence

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2842 Summary: std.file.listdir on OSX produces invalid UTF-8 sequence Product: D Version: 1.043 Platform: PC OS/Version: Mac OS X Status: NEW Severity: minor Priority:

[Issue 2843] New: ICE with is-expression with invalid dot-expression in is-expression involving typeid expression

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2843 Summary: ICE with is-expression with invalid dot-expression in is-expression involving typeid expression Product: D Version: 2.027 Platform: PC OS/Version: Linux

[Issue 2844] New: Result of getMembers cannot be used because of const

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2844 Summary: Result of getMembers cannot be used because of const Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2835] std.socket.TcpSocket.connect doesn't actually connect

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2835 --- Comment #4 from graham.stj...@internode.on.net 2009-04-16 20:00 --- It did indeed fix the issue. My (improved) test code now works in 2.026 and 2.028 when I use the workaround. --

[Issue 2838] std.file.rmdirRecurse fails

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2838 --- Comment #3 from graham.stj...@internode.on.net 2009-04-16 20:05 --- I have looked into it some more, and it looks like setting of d_type is only supported on some filesystems. I am using reiserfs, which I guess is a bit unusual,

[Issue 2838] std.file.rmdirRecurse fails

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2838 --- Comment #4 from unkn...@simplemachines.org 2009-04-16 21:03 --- Ah, yes, that makes sense. Please feel free to attach a patch. I'm not the one who'd accept it, but I think your approach looks sound. But, beware of convention -

[Issue 2838] std.file.rmdirRecurse fails

2009-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2838 --- Comment #5 from graham.stj...@internode.on.net 2009-04-16 22:05 --- Created an attachment (id=325) -- (http://d.puremagic.com/issues/attachment.cgi?id=325action=view) Proposed patch for std.file to handle case of linux

[Issue 2845] New: Alias-to-local as template argument + delegate = Access Violation

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2845 Summary: Alias-to-local as template argument + delegate = Access Violation Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW

[Issue 2846] New: box arguments should be const

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2846 Summary: box arguments should be const Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 2846] box arguments should be const

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2846 --- Comment #1 from dhase...@gmail.com 2009-04-17 09:57 --- This would require that TypeInfo's methods be marked const. --

[Issue 2847] New: DMD raise internal error when struct includes type real variable (minor situation)

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2847 Summary: DMD raise internal error when struct includes type real variable (minor situation) Product: D Version: 2.026 Platform: PC OS/Version: Windows Status: NEW

[Issue 2848] New: static if (is(type)) + alias fails to compile

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2848 Summary: static if (is(type)) + alias fails to compile Product: D Version: 1.043 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 2848] static if (is(type)) + alias fails to compile

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2848 --- Comment #1 from llu...@gmail.com 2009-04-17 12:28 --- BTW, using static if (is(typeof(no_type))) doesn't work either. --

[Issue 2848] static if (is(type)) + alias fails to compile

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2848 --- Comment #3 from fvbom...@wxs.nl 2009-04-17 12:31 --- Workaround: alias char[] String; static if (!is(no_type)) alias String no_type; no_type x; It seems to fail when the aliased type is a primitive type or

[Issue 2848] static if (is(type)) + alias fails to compile

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2848 --- Comment #2 from llu...@gmail.com 2009-04-17 12:30 --- It seems to happen for array, int and float aliasee, but not for Object or struct types... This workaround works: alias char[] String; static if (!is(no_type)) {

[Issue 2849] New: Length of a local immutable(char[]) cannot be a template value argument

2009-04-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2849 Summary: Length of a local immutable(char[]) cannot be a template value argument Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW

[Issue 2199] Segfault using array operation in function call

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2199 --- Comment #4 from clugd...@yahoo.com.au 2009-04-18 01:04 --- Fixed DMD2.028. Not yet fixed in D1. --

[Issue 2203] typeof(class.template.foo) crashes compiler

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2203 --- Comment #3 from clugd...@yahoo.com.au 2009-04-18 01:05 --- Fixed DMD2.028, not yet fixed in D1. --

[Issue 2577] DMD crashes on foreach of undefined identifier

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2577 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 1884] manifest constants for strings

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1884 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 2850] New: bad codegen for struct static initializers

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2850 Summary: bad codegen for struct static initializers Product: D Version: 2.012 Platform: PC OS/Version: Windows Status: NEW Keywords: wrong-code Severity: normal

[Issue 1702] ICE when identifier is undefined

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1702 clugd...@yahoo.com.au changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 1787] Compiler segfaults on circular references.

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1787 clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch OS/Version|Linux

[Issue 2346] ICE when comparing typedef'd class

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2346 --- Comment #2 from clugd...@yahoo.com.au 2009-04-18 03:53 --- The code should be accepted, but at least it's easy enough to convert the segfault into an error with line number: e2ir.c line 3612. cdfrom =

[Issue 2852] New: Cannot pass temporary result by reference (regression)

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2852 Summary: Cannot pass temporary result by reference (regression) Product: D Version: 2.026 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid

[Issue 2852] Cannot pass temporary result by reference (regression)

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2852 --- Comment #1 from 2kor...@gmail.com 2009-04-18 07:25 --- Compiler output (dmd2.028): test.d(17): Error: function test.pass (ref Rect rect) does not match parameter types (Rect) test.d(17): Error: get() is not an lvalue --

[Issue 2816] Sudden-death static assert is not very useful

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2816 --- Comment #11 from clugd...@yahoo.com.au 2009-04-18 17:13 --- Found another bug in this patch. Should start the count from 0, not 1. Otherwise you can get a segfault when the out-by-1 error shows up in the only show first and last

[Issue 1138] ICE when tuple template gets indexed

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1138 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 1266] Cannot forward reference the typeof of the base type of a pointer whose base type is defined with typeof

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1266 --- Comment #4 from clugd...@yahoo.com.au 2009-04-18 17:45 --- This seems to be fixed on DMD2.028 (although possibly because of some other patch I've made g -- that would indicate that it's a duplicate). Still segfaults on D1.042.

[Issue 2853] New: Property overriding problem

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2853 Summary: Property overriding problem Product: D Version: 1.043 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 2853] Property overriding problem

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2853 --- Comment #1 from 2kor...@gmail.com 2009-04-18 19:23 --- Fake properties must die, all I can say. --

[Issue 2855] New: __traits: no way to get overloads and information for non-instance methods

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2855 Summary: __traits: no way to get overloads and information for non-instance methods Product: D Version: 2.027 Platform: PC OS/Version: Linux Status: NEW

[Issue 2856] New: static opIndex does not compile for a templated struct/class

2009-04-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2856 Summary: static opIndex does not compile for a templated struct/class Product: D Version: 2.027 Platform: PC OS/Version: Windows Status: NEW Keywords:

<    3   4   5   6   7   8   9   10   11   12   >