--- Comment #4 from Shin Fujishiro <> 2010-10-25 11:39:57 PDT 
Created an attachment (id=794)
Patch against dmd trunk r727, for D2

This is a D2 enhancement patch.  Passed dmd/druntime/phobos tests and testcases
in the reports.

class.c:  Just added isTemplateDeclaration() to an if condition.  It makes the
ClassDeclaration recognize constructor templates as its constructors.

expression.c:  Changed toParent() to isThis().  toParent() doesn't check
through template instances and misunderstands that constructor is not declared
inside a class or struct.  isThis() (or toParent2) takes care of such cases.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to