[Issue 21909] Scope-ness of parameters of function templates should be inferred

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 9 20:58:49 UTC 2021


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

Paul Backus <snarwin+bugzilla at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |snarwin+bugzilla at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Paul Backus <snarwin+bugzilla at gmail.com> ---
As far as I can tell (https://run.dlang.io/is/4tusPN), `scope` is in fact
inferred for `arg` in the example given. So this is not an issue with templates
genrally, but with `format`, `write`, and `writeln` in particular.

--


More information about the Digitalmars-d-bugs mailing list