Open GoogleCodeExporter opened 9 years ago
It's backend's letrec* implementation bug.
mosh bytecode compiler will erroneously re-order unused variable in letrec*.
So, following code will show this issue at every mosh variant
(psyntax-mosh,nmosh,vanilla-mosh -- mosh without RnRS expander)
(let ()
(letrec* (
(one1 (begin (display "one-1") '11))
(one2 (begin (display "one-2") '12))
(one3 (begin (display "one-3") '13))
(two1 (begin (display "two-1") '11))
(two2 (begin (display "two-2") '12))
(two3 (begin (display "two-3") '13)))
(list one1 two1)))
Original comment by oku...@gmail.com
on 18 Apr 2011 at 12:31
Confirmed.
Original comment by hige...@gmail.com
on 22 Apr 2011 at 1:52
Original comment by oku...@gmail.com
on 11 Sep 2011 at 3:52
Original issue reported on code.google.com by
mrc....@gmail.com
on 18 Apr 2011 at 7:27Attachments: