Annoying module name / typename conflict
Jonathan M Davis
jmdavisProg at gmx.com
Mon Apr 2 15:46:07 PDT 2012
On Tuesday, April 03, 2012 00:31:32 Andrej Mitrovic wrote:
> On 4/3/12, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> > However, this name conflict makes this scheme rather painful to use. :-(
>
> For now you can stutter a little bit and use this:
> import S : S;
The simplest is just to rename the module so that it's all lowercase. I
believe that most people give modules all lowercase names. It's what Walter
recommends, but I know that others (e.g. Don) don't like that recommendation.
It does solve the problem in this case though.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list