Panic when parsing struct with slice field
Panic when parsing struct with slice field: a task in harness-adapters: Agentic coding environments (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…
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/harness-adapters.