Annoying module name / typename conflict

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Apr 2 16:01:38 PDT 2012


On Mon, Apr 02, 2012 at 06:46:07PM -0400, Jonathan M Davis wrote:
> 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.
[...]

Actually, it doesn't because I have some structs that have lowercase
names.


T

-- 
Жил-был король когда-то, при нём блоха жила.


More information about the Digitalmars-d mailing list