[Issue 11333] ICE: Cannot subtype 0-tuple with "alias this"
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon May 12 23:22:12 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=11333
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
(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.
--
More information about the Digitalmars-d-bugs
mailing list