[Issue 2131] Template scope access

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 9 13:43:02 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=2131

RazvanN <razvan.nitu1305 at gmail.com> changed:

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

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Templates are evaluated in the context where they are instantiated. If a
template needs a specific symbol it is cleaner to declare in the templates'
scope rather than creating symbol resolution rules for templates.


Closing on the same grounds as issue 2125.

--


More information about the Digitalmars-d-bugs mailing list