Merge pull request #148 from Ferada/small-fixes
authorDavid Vázquez <davazp@gmail.com>
Fri, 18 Oct 2013 00:12:05 +0000 (17:12 -0700)
committerDavid Vázquez <davazp@gmail.com>
Fri, 18 Oct 2013 00:12:05 +0000 (17:12 -0700)
Fix (SETF OGET).

src/compiler/compiler.lisp

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