Wrong type for make-bytevector on chicken-core HEAD
"Diego A. Mundo via Chicken-users" <[email protected]> Fri, 21 Nov 2025 17:48:09 +0000
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <9qRXoqPjvtU_Dk2gvnkQ6Qinfyx5NwijPPMmsG0sKScKHSYcNi6ql4FyIFp42pZEF6Srr_essJ9WHASdF1uTd9-KMfqJZGm6T-fnHcvyQvc=@pm.me> |
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