http://d.puremagic.com/issues/show_bug.cgi?id=1994


htven...@zonnet.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |htven...@zonnet.nl




------- Comment #6 from htven...@zonnet.nl  2009-01-12 03:54 -------
I ran into this bug too. When investigating it I found that it happens if an
alias for a function pointer type is forward referenced, except when the type
is "void function()". Surprisingly, changing the type into a delegate type will
make it compile.

The minimal test-case seems to be:

Fn f;
alias int function() Fn;


Btw: For DMD 2.023 the assert is at mtype.c:1103.


-- 

Reply via email to