simple ABI change to enable implicit conversion of functions to delegates?

ag0aep6g via Digitalmars-d digitalmars-d at puremagic.com
Mon May 15 14:06:57 PDT 2017


On 05/15/2017 10:34 PM, kinke wrote:
> If you just want to append an extra context arg by passing it as last
> actual arg, it'll end up in the stack sooner or later, and that, I
> guess, is where bad things may happen by just pushing an additional arg,
> not matching the function signature.

I'm certainly reaching the boundaries of my limited knowledge here, but 
wouldn't it work when we push the context arg first, before any other 
arguments, and pop it in the caller?


More information about the Digitalmars-d mailing list