Hello,
I have a file "test.scm" containing the following lines:
(import (std srfi/1))
(define a '(3 2 4 2))
(append! a '(8 8 8))
(display a)
(newline)
When I lauch: gsc -e '(load "~~/lib/modules/build")' -
and then (import test) it displays '(3 2 4 2 8 8 8)', which is fine.
But if 'test' has been compiled first with (module-compile! 'test), then when importing I got the error:
*** ERROR IN ##main -- (Argument 1) MUTABLE object expected
(set-cdr! '(2) '(8 8 8))
(I use the last git version of BH)