Documentation bug.

anonymous anon at notdigitalmars.com
Fri Oct 1 22:53:28 PDT 2010


I downloaded DMD 2.049, which is the latest version available. I tried
to write a program using std.thread (incorrectly documented to exist at
http://www.digitalmars.com/d/2.0/phobos/std_thread.html), only to find
that "module thread is in file 'std\thread.d' which cannot be read".

Further investigation revealed that the distribution of Phobos
included in DMD 2.049 HAS NO FILE NAMED THREAD.D!

After more investigation (which revealed that D 1.0 has "std.thread"),
I noticed that the link to "std.thread" on the Digital Mars web site had
the heading "core.thread", and fixed my program. It would have saved
me a lot of trouble if the link was also named "core.thread", instead
of having the misleading title (and URL) that suggests that the module's
name is "std.thread".

-- 
Microsoft Windows. The joke that kills.



More information about the Digitalmars-d-bugs mailing list