-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move coverage-increasing void
out of define-values
.
#201
base: master
Are you sure you want to change the base?
Conversation
@samth Do you know why the tests fail? |
Also copy properties appropriately to support `'errortrace-annotate`. Fixes racket#200.
The test failure is in
|
@samth I can confirm this breaks the stepper. Here's a sample program: #lang htdp/isl
(define-struct pare (kar kdr))
(define (add-pare pare)
(+ (pare-kar pare)
(pare-kdr pare)))
(add-pare (make-pare 23 42)) This completes immediately with the PR in place, with no output whatsoever. |
Does that fix the problem in #200? I would still like to actually do the right thing here, which I assume involves changing the stepper to cope with this change. |
Yes. |
I can't remember the details that I apparently unearthed a while ago, but I do remember enough to remain confident that the change I suggested in the comment that @mikesperber links to (starting with the comment "Ah. This is probably the right fix:") is a good change. Maybe other changes are also good, but that one seems to me to pretty clearly be right. It seems likely to me that that code was trying to get something about coverage to work, but it was copying over only the source locations, where it needs to actually copy all the properties, not just the source locations. |
Fixes #200.