Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a regression relative to v6.4 caused by a refactoring of the compiler between v6.4 and v6.5. The refactoring lost information about letrecs that are converted internally to let* when a mutable variable is involved, and it ends up allocating a closure before the box of a mutable variable that is referenced by the closure. Something like `with-continuation-mark` is needed around the closure's `lambda` to prevent other optimizations from hiding the bug. Closes #1462
- Loading branch information
Showing
4 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
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