Fix Marshaler case.

This commit is contained in:
nsf 2012-06-24 17:10:53 +06:00
parent 69d1e17b80
commit 110956d936
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ func (e *encoder) reflect_value(v reflect.Value) {
panic(&MarshalerError{v.Type(), err})
}
e.write(data)
return
}
switch v.Kind() {