protect eval-and-compile/eval-when-compile in let
This commit is contained in:
parent
82b4518fa6
commit
a4dd344ebd
@ -247,7 +247,11 @@ Arguments without a header are under None.
|
|||||||
(defn handle-call [self]
|
(defn handle-call [self]
|
||||||
(setv head (first self.form))
|
(setv head (first self.form))
|
||||||
(if (in head '[fn fn*]) (self.handle-fn)
|
(if (in head '[fn fn*]) (self.handle-fn)
|
||||||
(in head '[import require quote]) (self.handle-base)
|
(in head '[import
|
||||||
|
require
|
||||||
|
quote
|
||||||
|
eval-and-compile
|
||||||
|
eval-when-compile]) (self.handle-base)
|
||||||
(= head 'except) (self.handle-except)
|
(= head 'except) (self.handle-except)
|
||||||
(= head ".") (self.handle-dot)
|
(= head ".") (self.handle-dot)
|
||||||
(= head 'defclass) (self.handle-defclass)
|
(= head 'defclass) (self.handle-defclass)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user