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))
|
||||
(if (procedure? v)
|
||||
(make-traced-procedure ',who v)
|
||||
(assertion-violation 'trace-define
|
||||
"not a procedure" v)))))
|
||||
v))))
|
||||
(stx-error stx "invalid name"))))))
|
||||
|
||||
(define trace-define-syntax-macro
|
||||
|
|
Loading…
Reference in New Issue