Fix (SETF OGET).
authorOlof-Joachim Frahm <olof@macrolet.net>
Tue, 15 Oct 2013 20:41:56 +0000 (22:41 +0200)
committerOlof-Joachim Frahm <olof@macrolet.net>
Tue, 15 Oct 2013 20:41:56 +0000 (22:41 +0200)
src/compiler/compiler.lisp

index 4427cdd..7ce004d 100644 (file)
         ,@(mapcar (lambda (key)
                     `(progn
                        (= obj (property obj (call |xstring| ,(convert key))))
-                       (if (=== object undefined)
+                       (if (=== ,(convert object) undefined)
                            (throw "Impossible to set object property."))))
                   (butlast keys))
         (var (tmp