[Issue 1248] Weird error "... of type TOK146" on recursive type definition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 26 07:47:34 PDT 2007


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





------- Comment #1 from brunodomedeiros+bugz at gmail.com  2007-05-26 09:47 -------
Here's a minor variant:
----
functype func(int param) {
        return null;
}

alias typeof(&func) functype;
----
"main.d(3): Error: cannot implicitly convert expression (null) of type void* to
TOK146"
Definitely a bug.


-- 



More information about the Digitalmars-d-bugs mailing list