On 2015-01-30 at 11:55, FG wrote:
Error: module app struct std.regex.Thread(DataIndex) is private
Did you import core.thread?
This is silly. Thread is internal to std.regex, yet when importing both
std.regex and core.thread, you still get an error:
src.d(10): Error: core.thread.Thread at ......\thread.d(514) conflicts with
std.regex.Thread(Dat
aIndex) at ......\src\phobos\std\regex.d(4588)
The way around is of course the use of a fully qualified name:
core.thread.Thread.sleep( dur!("msecs")( 50 ) );
but there really should be no need for this, since std.regex.Thread is private.
Bug or correct behaviour?