bizzabo/diff

no such element exception in map diff

drdozer opened this issue · 1 comments

The show() method in the map diff is broken. It always looks in the right map, but it is called once for elements only in the right map and once for elements only in the left map.

A quick fix is:
def show( keys: List[K] ) = keys.map( k => DiffShow.show( k ) -> DiffShow.show( left.getOrElse( k, right( k ) ) ) )

Still not fixed in version 2.0.1. Is there a plan to make a new release?