[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2962 --- Comment #26 from Don clugd...@yahoo.com.au 2010-12-29 00:03:44 PST --- (In reply to comment #25) Sorry, you will encounter this issue when dmd and phobos are debug build. For dmd, you will build dmd with make -f win32.mak and DEBUG=-g -D

[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2962 --- Comment #27 from Don clugd...@yahoo.com.au 2010-12-29 00:19:59 PST --- A simpler command line is this: /dmd/src/phobos/std dmd -c -unittest conv.d stdio.d The unittest which it's failing in, is in stdio.d, line 1630: unittest { float

[Issue 1513] try/catch/finally misbehavior on windows

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1513 --- Comment #12 from Don clugd...@yahoo.com.au 2010-12-29 00:25:26 PST --- On D2, the behaviour is wrong on all platforms, not just Windows. Roughly speaking, Linux does exception chaining incorrectly, and Windows doesn't do it at all. These

[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2962 --- Comment #28 from Haruki Shigemori rayerd@gmail.com 2010-12-29 08:39:15 PST --- (In reply to comment #27) A simpler command line is this: /dmd/src/phobos/std dmd -c -unittest conv.d stdio.d The unittest which it's failing in, is in

[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2962 --- Comment #29 from Haruki Shigemori rayerd@gmail.com 2010-12-29 10:14:31 PST --- A simpler sample is this: // module a import b; void main() { foo!int(0); } // module b void foo(T)(T p) { void inner(U)() { auto p2 = p;

Re: D 2.0 Reference: document cast(immutable) etc.

2010-12-29 Thread Stewart Gordon
On 10/12/2010 00:09, darraghcoy wrote: Minor language documentation / reference issue. I found these flavours of cast() expressions being parsed by DMD: snip cast(wild) cast(shared wild) cast(wild shared) snip What is wild? Can't find it in the docs. Where did you find out about its

[Issue 4174] Template interface functions not allowed, making operator overloads difficult

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4174 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 4174] Template interface functions not allowed, making operator overloads difficult

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4174 --- Comment #3 from Steven Schveighoffer schvei...@yahoo.com 2010-12-29 12:40:08 PST --- Yes, I think back in May, you needed +=. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this

[Issue 5390] New: Make it possible to test whether a type is an instantiation of a particular template

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5390 Summary: Make it possible to test whether a type is an instantiation of a particular template Product: D Version: unspecified Platform: Other OS/Version: All

Re: D 2.0 Reference: document cast(immutable) etc.

2010-12-29 Thread Ellery Newcomer
On 12/29/2010 12:53 PM, Stewart Gordon wrote: What is wild? Can't find it in the docs. Where did you find out about its existence? Stewart. That is, in parse.c, TOKwild is aliased to TOKinout, so you can't literally write cast(wild) x

[Issue 5390] Make it possible to test whether a type is an instantiation of a particular template

2010-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5390 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 5390] Make it possible to test whether a type is an instantiation of a particular template

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