Thread name conflict

John Chapman via Digitalmars-d digitalmars-d at puremagic.com
Mon May 5 01:03:47 PDT 2014


Importing both core.thread and std.regex results in a conflict as 
both define a Thread type.

Perhaps the regex module's author assumed there'd be no clash 
since it's a template - Thread(DataIndex). Should I file a bug 
suggesting a name change? Or maybe D ought to allow both 
parameterised and normal types to have the same name - C# for 
example allows it.


More information about the Digitalmars-d mailing list