Running dmd v2.048 the compiler seems to crash on code like this:
alias ubyte foo;
alias const foo * const_fooP;
void main()
{
}
The error is:
dmd: mtype.c:875: void Type::check(): Assertion `tn->mod & 4 || tn->mod & 1' failed.
Aborted
I'm new to D so this might be invalid syntax but it shouldn't crash the compiler.
Comment #1 by clugdbug — 2010-09-20T08:13:35Z
(In reply to comment #0)
> I'm new to D so this might be invalid syntax but it shouldn't crash the
> compiler.
Yes. Thanks for the excellent reduced test case.
Comment #2 by bugzilla — 2010-11-07T12:29:29Z
*** This issue has been marked as a duplicate of issue 4434 ***