Skip to content

Commit

Permalink
fixed things
Browse files Browse the repository at this point in the history
  • Loading branch information
JAicewizard committed May 23, 2020
1 parent 1674670 commit 36fc9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ func (dec *V3Decoder) decodeValuev3(v v3.Value, e reflect.Value, yetToRead *uint
arr := make([]interface{}, children)
var err error
var value reflect.Value
ValueKind := e.Type().Elem().Kind()
ValueKind := reflect.TypeOf(arr).Elem().Kind()
shouldReplace := ValueKind == reflect.Array || ValueKind == reflect.Slice || ValueKind == reflect.Map

if !shouldReplace {
Expand Down

0 comments on commit 36fc9ab

Please sign in to comment.