[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 --- Com

[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 changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

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

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

2010-12-29 Thread Ellery Newcomer
wild is a more appropriate name for inout On 12/29/2010 12:53 PM, Stewart Gordon wrote: On 10/12/2010 00:09, darraghcoy wrote: Minor language documentation / reference issue. I found these flavours of cast() expressions being parsed by DMD: cast(wild) cast(shared wild) cast(wild shared) W

[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 Status

[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 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 mail because: --

[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 changed: What|Removed |Added Status|NEW |ASSIGNED CC|

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: cast(wild) cast(shared wild) cast(wild shared) What is wild? Can't find it in the docs. Where did you find out about its existence? S

[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 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; } inner!int(

[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 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 stdio.d, line 1630

[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 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 two commits are a first

[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 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 f; if (false) read

[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 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 > -DUNITTEST -L/d