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

Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Kenji Hara <[email protected]> ---
(In reply to Max Samukha from comment #0)
>     Unit unit2;
>     unit = unit2; // Segmentation fault (core dumped)

https://github.com/D-Programming-Language/dmd/pull/3546

>     foo(unit2); // Error: function test.foo () is not callable using
> argument types (Unit)

This is currently not allowed. See issue 2779.

--

Reply via email to