andrewplummer/Sugar — Issue #51: Defect: Object.merge does not merge deep object structures
Author: mlegenhausen
Created: 2011-11-09 15:46:42+00:00
State: open

I don't know if it is a bug or a feature when it is a feature it should be documented. Following example:

```
Object.merge({ foo : { bar : 'World' }, foo : 'bar'}, { foo : { foobar : 'Hello' }});
```

Expected result:

```
{ foo : { bar : 'World', foobar : 'Hello'}}
```

Actual result:

```
{ foo : { foobar : 'Hello' } }
```