[racket-dev] bug in ~r

From: Curtis Dutton (curtdutt at gmail.com)
Date: Sun Jan 13 10:40:04 EST 2013

I think this is a bug...

(~r  (/ 15625 16384)
                  #:min-width 4
                  #:precision 1)

gives me

 make-string: contract violation
  expected: exact-nonnegative-integer?
  given: -1
  argument position: 1st
  other arguments...:
   #\0

Can anyone else reproduce this? If so I'll file it as a bug...

Thanks,
  Curt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130113/4803c1b0/attachment.html>

Posted on the dev mailing list.