https://issues.dlang.org/show_bug.cgi?id=23487

Forest <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Forest <[email protected]> ---
The 2.108.1 are live, and the example at that URL still doesn't work.

This seems to do the trick:

sharedLog = cast(shared(Logger)) new FileLogger("foo.log");

Is this now considered the correct way to do it?

It would be nice if awkward casts like this were not imposed on the user.

--

Reply via email to