Skip to content

Commit 9833c3f

Browse files
committed
codec: wrongly commented out detaching bytes in naked mode
1 parent 59badd2 commit 9833c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codec/decode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ func (d *decoderBase) fauxUnionReadRawBytes(dr decDriverI, asString, rawToString
523523
d.n.s = d.string(d.n.l, d.n.a)
524524
} else {
525525
d.n.v = valueTypeBytes
526-
// d.n.l = d.detach2Bytes(d.n.l, nil, d.n.a)
526+
d.n.l = d.detach2Bytes(d.n.l, nil, d.n.a)
527527
}
528528
}
529529

0 commit comments

Comments
 (0)