Module names shadowing defined functions/templates.
Minty Fresh via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 28 21:17:56 PDT 2016
On Thursday, 29 September 2016 at 02:26:15 UTC, Joakim wrote:
> I ran into this too, it is annoying. I think you're supposed to
> use different names.
It's a rather painful limitation if that were the case.
Going with the example I gave, what would an alternative name for
the module be? All it's public members are named `leastsq`.
While I can imagine there are technical challenges that have
caused this issue to be the way it is, it's still a pretty major
flaw to try to work around.
Working around shortcomings of a language is never a good place
to be in.
More information about the Digitalmars-d
mailing list