trace-define now does not raise an error when given a non-procedure
This commit is contained in:
parent
7d6316f723
commit
65dc2bc40d
|
@ -1 +1 @@
|
||||||
1754
|
1755
|
||||||
|
|
|
@ -1260,8 +1260,7 @@
|
||||||
(let ((v ,expr))
|
(let ((v ,expr))
|
||||||
(if (procedure? v)
|
(if (procedure? v)
|
||||||
(make-traced-procedure ',who v)
|
(make-traced-procedure ',who v)
|
||||||
(assertion-violation 'trace-define
|
v))))
|
||||||
"not a procedure" v)))))
|
|
||||||
(stx-error stx "invalid name"))))))
|
(stx-error stx "invalid name"))))))
|
||||||
|
|
||||||
(define trace-define-syntax-macro
|
(define trace-define-syntax-macro
|
||||||
|
|
Loading…
Reference in New Issue