[Issue 19674] multiple local template function with same name don't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 21 11:51:41 UTC 2019


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

--- Comment #5 from Alex <alex at sunopti.com> ---
I think the nested function should not be able to see each other from those
scopes. They should not conflict or be able to be called from the other scope
regardless of whether template or not. This way the same rules apply as with
variables.
The compiler conflict error is preferable to current misbehaviour.

--


More information about the Digitalmars-d-bugs mailing list