[Issue 6211] __traits (compile) return wrong result when the bug happen

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 24 18:43:03 PDT 2011


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


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thecybershadow at gmail.com
         Resolution|                            |INVALID


--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-06-24 18:38:13 PDT ---
This is not a bug. See section "Instantiation Scope" of
http://www.d-programming-language.org/template.html .

> TemplateInstantances are always performed in the scope of where the 
> TemplateDeclaration is declared, with the addition of the template parameters 
> being declared as aliases for their deduced types.

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