September 09, 2019 [Issue 2131] Template scope access | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=2131 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |INVALID --- Comment #1 from RazvanN <razvan.nitu1305@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. -- |
Copyright © 1999-2021 by the D Language Foundation