Non-existing variable of type slice of structs is mapped to an empty slice instead of nil
Non-existing variable of type slice of structs is mapped to an empty slice instead of nil: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). I wanted to update to v11.2.0 and I noticed that the recent change…
The task
I wanted to update to v11.2.0 and I noticed that the recent change (https://github.com/caarlos0/env/pull/312) changed the semantics regarding slices of structs. The problem is that a non-existing of type `[]someStruct` is mapped to an empty slice instead of the prior behavior (as well as with slices of primitive…