Closed shhyou closed 3 weeks ago
A minimal program is any program (not limited to htdp/isl+
-- #lang racket
has the same problem) with an image inserted via DrRacket.
Looks like that fixes racket/racket#5008 as well?
Ah cool!
I have been having second thoughts about the fix, actually. Maybe it would be better to catch the exception that write throws as it may be possible to make a macro that triggers the same problem.
Robby
On Thu, Jun 6, 2024 at 7:10 PM shuhung @.***> wrote:
Looks like that fixes racket/racket#5008 https://github.com/racket/racket/issues/5008 as well?
— Reply to this email directly, view it on GitHub https://github.com/racket/drracket/issues/669#issuecomment-2153611550, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBNMEBTIJYFJY3J5YUDPTZGD26VAVCNFSM6AAAAABGV7E2GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGYYTCNJVGA . You are receiving this because you modified the open/close state.Message ID: @.***>
What version of Racket are you using?
Welcome to DrRacket, version 8.12.0.12 [cs]. Language: htdp/isl+ [custom]; memory limit: 256 MB.
What program did you run?
The attachment, exercise_1.rkt Exercise 1.zip
What should have happened?
No error.
If you got an error message, please include it here.
write: cannot marshal value that is embedded in compiled value: (object:image% ... ...)
.There's no error when running the code, however.