From dea14bb78b0fc90032373212912a16ed1f6a4a29 Mon Sep 17 00:00:00 2001 From: Olof-Joachim Frahm Date: Tue, 20 Aug 2013 01:30:21 +0200 Subject: [PATCH] Fix MAP-FOR-IN access. Which should iterate over properties of a Javascript object. --- src/compiler/compiler.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compiler.lisp b/src/compiler/compiler.lisp index a2e5dee..73223aa 100644 --- a/src/compiler/compiler.lisp +++ b/src/compiler/compiler.lisp @@ -1252,7 +1252,7 @@ (g (if (=== (typeof f) "function") f (get f "fvalue"))) (o ,object)) (for-in (key o) - (call g ,(if *multiple-value-p* '|values| '|pv|) 1 (get o "key"))) + (call g ,(if *multiple-value-p* '|values| '|pv|) 1 (property o key))) (return ,(convert nil)))) (define-compilation %js-vref (var) -- 1.7.10.4