inout delegate

Manu via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 6 08:00:56 PDT 2016


On 6 October 2016 at 00:29, Manu <turkeyman at gmail.com> wrote:
> On 4 October 2016 at 11:15, Manu <turkeyman at gmail.com> wrote:
>> On 4 October 2016 at 10:50, Timon Gehr via Digitalmars-d
>> <digitalmars-d at puremagic.com> wrote:
>>> On 03.10.2016 05:06, Manu via Digitalmars-d wrote:
>>>>
>>>> Okay, well my current project is blocked on this. I can't progress.
>>>> https://issues.dlang.org/show_bug.cgi?id=16572
>>>
>>>
>>> Probably you can work around the issue using unsafe type casts.
>>
>> Mmm, I'll see how much work it is to detect the case to do such a cast...
>
> I'm really struggling with this issue.. multiple times a day.
> I can't find a reasonable workaround. casting, or trying to re-synth
> the delegate type from the function signature doesn't seem to be
> reasonable. I lose all the attributes, and storage class on parameters
> are an endless nuisance that should never have existed. Cloning the
> function signature verbatim, but with inout resolved seems to be
> really hard and probably buggy.
> I really just need this bug fixed... is it a particularly tricky fix?

Goodnight. I'm really hoping I wake up tomorrow and someone has some
comment on this issue...
I'm a post about it every day. I'm completely blocked while this
regression stands ;)


More information about the Digitalmars-d mailing list