Panic when parsing struct with slice field
Panic when parsing struct with slice field: a task in UltraTerminal (Harbor dataset). When parsing a struct that contains a slice field, the library panics with reflect: call of reflect.Value.Elem on slice Value . This happens because the isInvalidPtr function tries to call Elem() on non-pointer…
The task
When parsing a struct that contains a slice field, the library panics with `reflect: call of reflect.Value.Elem on slice Value`. This happens because the `isInvalidPtr` function tries to call `Elem()` on non-pointer types.
Part of harness-hub/UltraTerminal.