Skip to content

Commit

Permalink
consistent error returns
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlehane committed May 1, 2022
1 parent 1ace8a7 commit 1ced1e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/vectorArray.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (a Array) Length() int {
return 0
}

// not implemented yet
// TODO: Array not implemented yet
func MakeArray(f MakeType, b []byte) (Type, error) {
return Array{}, nil
}
Expand Down Expand Up @@ -105,7 +105,7 @@ func MakeVariant(b []byte) (Type, error) {
}
f, ok := MakeTypes[id]
if !ok {
return I1(0), ErrUnknownType
Variant{}, ErrUnknownType
}
t, err := f(b[4:])
if err != nil {
Expand Down

0 comments on commit 1ced1e7

Please sign in to comment.