* test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Remove
`comp-ctxt' definition.
* lisp/emacs-lisp/comp.el (comp-ctxt): Likewise.
* lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Define it here.
collect cstr into positives
finally return (cl-values positives negatives)))
+;; So we can load comp-cstr.el and comp.el in non native compiled
+;; builds.
+(defvar comp-ctxt)
+
(defvar comp-cstr-one (comp-value-to-cstr 1)
"Represent the integer immediate one.")
(signal (function (symbol t) nil)))
"Alist used for type propagation.")
-(defvar comp-ctxt) ; To make comp.el loadable in non native comp builds.
-
(defconst comp-known-func-cstr-h
(cl-loop
with comp-ctxt = (make-comp-cstr-ctxt)
(require 'cl-lib)
(require 'comp-cstr)
-(defvar comp-ctxt) ; So we can run these tests on non native compiled builds.
-
(cl-eval-when (compile eval load)
(defun comp-cstr-test-ts (type-spec)