Created
March 22, 2013 15:22
-
-
Save abeaumont/5222106 to your computer and use it in GitHub Desktop.
OpenDylan's <byte-vector> bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module: byte-vector-test | |
define library byte-vector-test | |
use common-dylan; | |
use io; | |
end library; | |
define module byte-vector-test | |
use common-dylan, exclude: { format-to-string }; | |
use byte-vector; | |
use format-out; | |
end module; | |
define function main (name :: <string>, arguments :: <vector>) | |
let v = make(<byte-vector>, size: 1, fill: 1); | |
format-out("%=\n", v[0]); | |
exit-application(0); | |
end function main; | |
main(application-name(), application-arguments()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment