core.thread.[Ss]leep - Is this a bug?

wobbles via Digitalmars-d digitalmars-d at puremagic.com
Wed May 13 13:09:43 PDT 2015


On windows,
core.thread.Sleep  (big 'S')

On linux
core.thread.sleep  (little 'S')


I'm trying to import as little symbols as possible, so was 
importing specific items like
import core.thread : Sleep;

but it fails when I compile on linux, so I need to do a
version(Windows) import core.thread : Sleep;
version(Posix) import core.thread : sleep;

Seems like a bug?


More information about the Digitalmars-d mailing list