Fix Append modifying a possibly shared array (#8)

It's possible to have a multiError that is appended to multiple times
causing an underlying array to be shared and end up getting modified.

For now, remove the special case for `append(multiError, err)` which can
cause this bug.

2 files changed
tree: fb433e8063c3872ac73a20a47d2ebba69d5cf72e
  1. .gitignore
  2. .travis.yml
  3. LICENSE.txt
  4. Makefile
  6. error.go
  7. error_test.go
  8. glide.lock
  9. glide.yaml
  10. scripts/

multierr GoDoc Build Status Coverage Status

multierr allows combining one or more Go errors together.


go get -u



Released under the MIT License.