Thread overview | |||||
---|---|---|---|---|---|
|
May 10, 2010 [Issue 4171] New: std.random.uniform does not work for a range of characters | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4171 Summary: std.random.uniform does not work for a range of characters Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: pelle.mansson@gmail.com --- Comment #0 from Pelle Månsson <pelle.mansson@gmail.com> 2010-05-10 10:45:34 PDT --- import std.random; void main() { uniform('a', 'z'); } results in phobos/std/random.d(659): Error: cannot implicitly convert expression (cast(int)b - 1) of type int to char -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 18, 2010 [Issue 4171] std.random.uniform does not work for a range of characters | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pelle Månsson | http://d.puremagic.com/issues/show_bug.cgi?id=4171 David Simcha <dsimcha@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsimcha@yahoo.com --- Comment #1 from David Simcha <dsimcha@yahoo.com> 2010-06-17 18:05:51 PDT --- Fixed in SVN. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 18, 2010 [Issue 4171] std.random.uniform does not work for a range of characters | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pelle Månsson | http://d.puremagic.com/issues/show_bug.cgi?id=4171 David Simcha <dsimcha@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation