D.gnu - new release?
- u <a where.com> Aug 07 2008
- Vincent Richomme <forumer anonymous.com> Aug 07 2008
- Moritz Warning <moritzwarning web.de> Aug 07 2008
- "Koroskin Denis" <2korden gmail.com> Aug 07 2008
- u <a where.com> Aug 07 2008
- "Koroskin Denis" <2korden gmail.com> Aug 07 2008
I noticed that GDC in cvs has been updated to D 2.014 But unfortunately D 2.014 has a bug that I cannot use it: http://d.puremagic.com/issues/show_bug.cgi?id=2154 Is there a plan for a new release? the last release 0.24 is about 1 year ago. Or anyone know how to update the latest front-end of GDC from DMD sources?
Aug 07 2008
u a écrit :I noticed that GDC in cvs has been updated to D 2.014 But unfortunately D 2.014 has a bug that I cannot use it: http://d.puremagic.com/issues/show_bug.cgi?id=2154 Is there a plan for a new release? the last release 0.24 is about 1 year ago. Or anyone know how to update the latest front-end of GDC from DMD sources?
that some people have posted here...
Aug 07 2008
On Thu, 07 Aug 2008 20:15:41 +0200, Vincent Richomme wrote:u a écrit :I noticed that GDC in cvs has been updated to D 2.014 But unfortunately D 2.014 has a bug that I cannot use it: http://d.puremagic.com/issues/show_bug.cgi?id=2154 Is there a plan for a new release? the last release 0.24 is about 1 year ago. Or anyone know how to update the latest front-end of GDC from DMD sources?
that some people have posted here...
I have the impression that those patches are fragmented. Maybe someone could look them up/merge them and test them?
Aug 07 2008
On Thu, 07 Aug 2008 20:28:24 +0400, u <a where.com> wrote:I noticed that GDC in cvs has been updated to D 2.014 But unfortunately D 2.014 has a bug that I cannot use it: http://d.puremagic.com/issues/show_bug.cgi?id=3D2154 Is there a plan for a new release? the last release 0.24 is about 1 ye=
ago. Or anyone know how to update the latest front-end of GDC from DMD =
sources?
Not sure if it is a bug or not. You are trying to access a non-static method. Try one of these solutions= : 1) Make the method static: class A { public static string toString() { return ""; } } 2) change your test code: ... static if (is(typeof((new E()).toString()) : string)) { ... Both work for me.
Aug 07 2008
== Quote from Koroskin Denis (2korden gmail.com)'s articleOn Thu, 07 Aug 2008 20:28:24 +0400, u <a where.com> wrote:
You are trying to access a non-static method. Try one of these solutions
My intention is to test if a certain method/attribute exist for a particular class; not the actual method invocation on an real object (created statically). Or this should be done in a different way in D? BTW, my old code is accept by the latest DMD 2.017 compiler; however, even it generate binary, the behavior is hard to understand (see the attached file in): http://d.puremagic.com/issues/show_bug.cgi?id=2274
Aug 07 2008
On Fri, 08 Aug 2008 04:16:38 +0400, u <a where.com> wrote:=3D=3D Quote from Koroskin Denis (2korden gmail.com)'s articleOn Thu, 07 Aug 2008 20:28:24 +0400, u <a where.com> wrote:
You are trying to access a non-static method. Try one of these soluti=
My intention is to test if a certain method/attribute exist for a =
particular class; not the actual method invocation on an real object (created =
statically). Or this should be done in a different way in D?
Yes, you should do it differently.BTW, my old code is accept by the latest DMD 2.017 compiler; however, =
even it generate binary, the behavior is hard to understand (see the attached =
file in): http://d.puremagic.com/issues/show_bug.cgi?id=3D2274
I already answered.
Aug 07 2008









Moritz Warning <moritzwarning web.de> 