hugo/common/collections
Bjørn Erik Pedersen 535755e4f8
common/collections: Fix type checking in Append
The fix introduced in Hugo `0.49.1` had an unintended side-effect in the `Append` func used in both `append` and `.Scratch.Add`.

This commit fixes that by loosen/fixing the type checking so concrete types can be appended to interface slices.

Fixes #5303
2018-10-11 11:24:10 +02:00
..
append.go common/collections: Fix type checking in Append 2018-10-11 11:24:10 +02:00
append_test.go common/collections: Fix type checking in Append 2018-10-11 11:24:10 +02:00
collections.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
slice.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00
slice_test.go common/maps: Improve append in Scratch 2018-10-08 12:30:50 +02:00