[Issue 9648] Missing std.random import for std.algorithm.topN

2013-03-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9648


Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 9648] Missing std.random import for std.algorithm.topN

2013-03-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9648



--- Comment #3 from github-bugzi...@puremagic.com 2013-03-05 06:32:32 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/337f268cf1e24a25728eea417c4a76a907eec21e
Fixes Issue 9648 - Make import to std.random independent of -unittest switch.

https://github.com/D-Programming-Language/phobos/commit/f8e26734124c7867486a92133f14ceff1dbac394
Merge pull request #1187 from AndrejMitrovic/Fix9648

Issue 9648 - Make import to std.random independent of -unittest switch

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 9648] Missing std.random import for std.algorithm.topN?

2013-03-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9648


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-03-04 
18:48:55 PST ---
Yeah it's only imported when -unittest is on, and since Phobos is never tested
without -unittest you end up with this situation.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 9648] Missing std.random import for std.algorithm.topN

2013-03-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9648



--- Comment #2 from bearophile_h...@eml.cc 2013-03-04 19:29:31 PST ---
(In reply to comment #1)
 Yeah it's only imported when -unittest is on, and since Phobos is never tested
 without -unittest you end up with this situation.

That's a curious bug.

I have removed the ending question mark from this issue title.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---