Comment #1 by bearophile_hugs — 2013-11-27T07:59:15Z
(In reply to comment #0)
> Hi,
>
> this code raise an Internal Compiler Error.
>
> -> http://www.dpaste.dzfl.pl/985a2f42
>
>
> After talking about this issue into d.learn
>
> -> http://forum.dlang.org/thread/[email protected]
>
> It seem that is maybe a bug
Please paste the code here or attach it here. But please try to minimize it first.
Comment #2 by hsteoh — 2013-11-27T20:36:42Z
It would help to include the exact compiler error message too.
Comment #3 by bioinfornatics — 2013-11-28T15:20:50Z
Reduced test case:
struct Tuple(T...)
{
T field;
alias field this;
}
static assert({
Tuple!(immutable dchar) result = void;
auto addr = cast(dchar*) &result[0];
*addr = dchar.init;
return true;
}());