fix errortrace on set! expressions (incorrectly incremented phase in recur)

svn: r10557
This commit is contained in:
Matthew Flatt 2008-07-02 12:53:01 +00:00
parent f820f00e66
commit 0de2c454f3
2 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ During execution of the program, this is called for each point with
the key for that program point that was passed to
@schemein[initialize-test-coverage-point].}
@defproc[(initialize-test-coverage-point (key any/c) (stx any)) void?]{
@defproc[(initialize-test-coverage-point (key any/c) (stx any/c)) void?]{
During compilation of the program, this function is called with each
sub-expression of the program. The first argument is a special key

View File

@ -461,7 +461,7 @@
(let ([new-rhs (annotate-named
(syntax var)
(syntax rhs)
(add1 phase))])
phase)])
;; set! might fail on undefined variable, or too many values:
(with-mark expr
(certify