[Issue 8994] typeof fails when passing delegate as alias parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 11 18:25:40 PST 2012


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



--- Comment #3 from Maxim Fomin <maxim at maxim-fomin.ru> 2012-11-11 18:25:37 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > This is issue 8899. Change lambda template a => visit(a) to lambda function (A
> > a) => visit(a) and the code compiles.
> 
> I'm not sure at the problem trigger itself precisely when using typeof.

I think that using lambda without parameter type is often a problem. In lucky
cases there is compilation error and in worse cases this leads to mysterious
bugs.

-- 
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