Test-only release: no source or behavior change from v1.0.5.
Adds regression tests rounding out isNilValue's reflect.Kind
coverage from v1.0.5's fix. TestGetErrorCodeWithNilNonPointerCoder
and its StackTracer sibling already exercised the slice arm (and
TestGetErrorCodeWithNonNilCapableValueCoder the default branch),
giving 100% line coverage; this adds dedicated nil map, chan, and func
Coder repros so each reachable nil-capable kind has its own named
test, not just incidental line coverage via the slice case. Each new
test panics on the pre-fix path (map write, chan close, func call) if
the isNilValue guard ever regresses.
reflect.Interface remains in isNilValue's switch to match
reflect.Value.IsNil's documented kind set, but is unreachable through
this package's actual call sites (GetErrorCode/GetStackTrace/
RecaptureStackTrace all convert an interface-typed local to any
first, which Go always flattens to the underlying concrete type) -
documented as defensive/unreachable rather than given a test that
cannot exercise it.
No breaking changes.
Test coverage: 100.0%.