[Issue 339] Alias of function pointer type cannot be forward referenced
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 25 13:53:14 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=339
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |clugdbug at yahoo.com.au
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2009-05-25 13:53:13 PDT ---
(In reply to comment #1)
> Code crashes D2.
>
> test.d
> ------
> uint data;
>
> void benchmark(Algorithm alg) {
> alg(data);
> }
>
> alias void function(uint) Algorithm;
>
> C:> dmd test.d
> Assertion failure: 't->deco' on line 1125 in file 'mtype.c'
This ICE is fixed by my patch to bug 3010.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list