Summary: std.random.uniform does not work for a range of
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Pelle M´┐Żnsson <> 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:
------- You are receiving this mail because: -------

Reply via email to