diff icon indicating copy to clipboard operation
diff copied to clipboard

no such element exception in map diff

Open drdozer opened this issue 7 years ago • 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 ) ) ) )

drdozer avatar Mar 30 '17 22:03 drdozer

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

mirelon avatar Jun 04 '21 07:06 mirelon