deal with :eval? properly
svn: r1846
This commit is contained in:
parent
7f8bb5c68f
commit
b1442e74c4
|
@ -341,6 +341,7 @@
|
||||||
(when coverage? (coverage-enabled #t))
|
(when coverage? (coverage-enabled #t))
|
||||||
(current-run-status "checking submission")
|
(current-run-status "checking submission")
|
||||||
(cond
|
(cond
|
||||||
|
[(not eval?) (let () body ...)]
|
||||||
[language
|
[language
|
||||||
(let ([eval
|
(let ([eval
|
||||||
(with-handlers
|
(with-handlers
|
||||||
|
@ -373,7 +374,6 @@
|
||||||
body*1 body* (... ...))])])
|
body*1 body* (... ...))])])
|
||||||
(let () body ...))
|
(let () body ...))
|
||||||
(when (thread-cell-ref added-lines) (write-text))))]
|
(when (thread-cell-ref added-lines) (write-text))))]
|
||||||
[(not eval?) (let () body ...)]
|
|
||||||
[else (error* "no language configured for submissions")])
|
[else (error* "no language configured for submissions")])
|
||||||
output-file)
|
output-file)
|
||||||
;; ========================================
|
;; ========================================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user