[Issue 10815] Allow access of a symbol in a template instance if instantiator module has access to the symbol

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 13 06:36:13 PDT 2013


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


Dicebot <public at dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public at dicebot.lv


--- Comment #1 from Dicebot <public at dicebot.lv> 2013-08-13 06:36:12 PDT ---
I have always thought it is intentional:

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

(http://dlang.org/template.html)

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