[Issue 1012] cannot instantiate template with no or default arguments without !()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 30 14:48:49 PDT 2009


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



--- Comment #4 from Rainer Schuetze <r.sagitario at gmx.de> 2009-09-30 14:48:47 PDT ---
Created an attachment (id=466)
convert TypeIdentifer refering to TemplateDeclaration to TypeInstance

I don't expect any additional ambiguities, because the template types are in
the same namespace as all other identifers anyway (apart from version and debug
identifiers). 
This patch against 2.032 converts a TypeIdentifier (as created by the parser)
into a TypeInstance if name lookup revealed that it is actually a template.

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