Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
chengs041021 committed Mar 26, 2020
1 parent df0f788 commit aa38399
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions codegen/type_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -807,12 +807,10 @@ func (c *TypeConverter) genStructConverter(
return err
}
case *compile.BinarySpec:
// TODO: handle override. Check if binarySpec can be optional.
for _, line := range checkOptionalNil(indent, c.uninitialized, toIdentifier, prevKeyPrefixes, c.useRecurGen) {
c.append(line)
}
c.append(toIdentifier, " = []byte(", fromIdentifier, ")")

case *compile.StructSpec:
var (
stFromPrefix = fromPrefix
Expand Down

0 comments on commit aa38399

Please sign in to comment.