Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer Buckley committed Apr 3, 2019
1 parent 000fc4a commit 48a713c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typed/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (w *mergingWalker) merge() (errs ValidationErrors) {
alhs := deduceAtom(a, w.lhs)
arhs := deduceAtom(a, w.rhs)
if reflect.DeepEqual(alhs, arhs) {
errs =append(errs, handleAtom(arhs, w.typeRef, w)...)
errs = append(errs, handleAtom(arhs, w.typeRef, w)...)

This comment has been minimized.

Copy link
@apelisse

apelisse Apr 3, 2019

Contributor

pure beauty!

} else {
w2 := *w
errs = append(errs, handleAtom(alhs, w.typeRef, &w2)...)
Expand Down

0 comments on commit 48a713c

Please sign in to comment.