diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/robertkrimen/otto/type_go_map.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/robertkrimen/otto/type_go_map.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Godeps/_workspace/src/github.com/robertkrimen/otto/type_go_map.go b/Godeps/_workspace/src/github.com/robertkrimen/otto/type_go_map.go index 542a2c29d..3e204a028 100644 --- a/Godeps/_workspace/src/github.com/robertkrimen/otto/type_go_map.go +++ b/Godeps/_workspace/src/github.com/robertkrimen/otto/type_go_map.go @@ -60,7 +60,7 @@ func goMapEnumerate(self *_object, all bool, each func(string) bool) { object := self.value.(*_goMapObject) keys := object.value.MapKeys() for _, key := range keys { - if !each(key.String()) { + if !each(toValue(key).String()) { return } } |