[Issue 9004] Wrong line number for undefined identifier error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 13 04:40:47 PST 2012


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



--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2012-11-13 04:40:46 PST ---
(In reply to comment #1)
> I don't think this is wrong code though.. You can declare `FooT.T x;` inside
> the function body, I don't see why it shouldn't be allowed in the function
> header.

If a part of function parameter type is a template parameter, as like `FooT.T`,
it doesn't work in current IFTI mechanism.

D has a proper module system, so its working would be worth. But it is yet an
enhancement request.

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