DI Generation Needs your Help!
Jacob Carlborg
doob at me.com
Wed Dec 21 23:43:56 PST 2011
On 2011-12-22 08:07, Adam Wilson wrote:
> The latest DI generation code is now on my Git account and ready for
> testing. It fixes the following issues:
>
> 1. Variables in template functions/classes would be stripped of their
> initializers.
> 2. Manifest Constants would lose their initializers.
>
> DI generation is getting close! Every Phobos DI module I've tried has
> passed the VisualD parser/lexer (for whatever that is worth). I want to
> do some build testing with those files, but even complicated modules
> like std.algorithm and std.regex are passing the lexer/parser. If
> everything goes well with that testing I'll open up a pull for dmd.
> Hopefully proper DI generation will make it into 2.058!
> You can get the latest from my git account here:
> https://LightBender@github.com/LightBender/dmd.git
>
Can the generator handle this:
id objc_msgSend (ARGS...)(id theReceiver, SEL theSelector, ARGS args)
{
alias extern (C) id function (id, SEL, ARGS) fp;
return (cast(fp)&c_objc_msgSend)(theReceiver, theSelector, args);
}
I know it had problems with that, at least in previous versions of DMD.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list