Commit 8d1e5a00 authored by pfdietz's avatar pfdietz

Add another test (confirm that disassemble does not cause the function being...

Add another test (confirm that disassemble does not cause the function being disassembled to itself become compiled
parent 0a728d4f
......@@ -70,6 +70,18 @@
(disassemble-it 'disassemble-example-fn3))
t nil)
(deftest disassemble.11
(let ((fn 'disassemble-example-fn4))
(when (fboundp fn) (fmakunbound fn))
(eval `(defun ,fn (x) x))
(let ((is-compiled? (typep (symbol-function fn) 'compiled-function)))
(multiple-value-call
#'values
(disassemble-it fn)
(if is-compiled? (notnot (typep (symbol-function fn) 'compiled-function))
(not (typep (symbol-function fn) 'compiled-function))))))
t nil t)
;;; Error tests
(deftest disassemble.error.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment