Skip to content

Commit

Permalink
Revert "Don't defer compile-time errors in check-expect."
Browse files Browse the repository at this point in the history
This reverts commit d701105,
because it breaks the "htdp-test" build.
  • Loading branch information
mflatt committed Sep 10, 2024
1 parent a6c3096 commit f0e425c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions htdp-lib/test-engine/syntax.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
(syntax-column stx)
(syntax-position stx)
(syntax-span stx)))))
(define test-expr-checked-for-syntax-error #`(convert-compile-time-error #,test-expr))
(if (eq? 'module (syntax-local-context))
#`(define #,bogus-name
#,(stepper-syntax-property
Expand All @@ -48,7 +49,7 @@
['stepper-use-val-as-final #t])
(quasisyntax/loc stx
(#,checker-proc-stx
(lambda () #,test-expr)
(lambda () #,test-expr-checked-for-syntax-error)
#,@embedded-stxes
#,src-info)))))
'stepper-skipto
Expand All @@ -64,7 +65,7 @@
['stepper-use-val-as-final #t])
(quasisyntax/loc stx
(#,checker-proc-stx
(lambda () #,test-expr)
(lambda () #,test-expr-checked-for-syntax-error)
#,@embedded-stxes
#,src-info)))))))

Expand Down

0 comments on commit f0e425c

Please sign in to comment.