gofmt -s -w decoder.go
This commit is contained in:
parent
c22487c32b
commit
e94e92c43a
@ -517,7 +517,7 @@ func expandObject(node ast.Node, result reflect.Value) ast.Node {
|
|||||||
// we need to un-flatten the ast enough to decode
|
// we need to un-flatten the ast enough to decode
|
||||||
newNode := &ast.ObjectItem{
|
newNode := &ast.ObjectItem{
|
||||||
Keys: []*ast.ObjectKey{
|
Keys: []*ast.ObjectKey{
|
||||||
&ast.ObjectKey{
|
{
|
||||||
Token: keyToken,
|
Token: keyToken,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user