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.
(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.
*** This issue has been marked as a duplicate of issue 4434 ***