On Wed, Mar 31, 2010 at 02:34, Adam Ruppe <destructiona...@gmail.com> wrote:
> All right, now I'm actually done for the day. > > Updated the zip at the link: > http://arsdnet.net/dcode/dmdscript_d2.zip > > se.addFunction!(fun, "fun"); // adding D functions is just giving > the names. the second arg is required since stringof the alias kept > treating it as a property..... > I remember having the same problem... You can try __traits(identifier, ...): enum string scriptName = getPlainName!(__traits(identifier, T)); Philippe