What    |Removed                     |Added
                 CC|                            |

------- Comment #6 from  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