When I initialize a bytevector with an initial value:

(import (scheme base))
(make-bytevector 20 0)

And compile the file, I see the following warning, despite the function in fact 
correctly taking a second optional arguments:

Warning: Wrong number of arguments
  In file `/tmp/test.scm:49',
  At the toplevel,
  In procedure call:

    (chicken.bytevector#make-bytevector 20 0)

  Procedure `make-bytevector' is called with 2 arguments but 1 argument is 
expected.

  Procedure `make-bytevector' from module `chicken.bytevector' has this type:

    (fixnum -> bytevector)

Diego

Reply via email to