Map#union and Map#intersection implementation is not general
Closed this issue · 1 comments
syslo commented
Both TransientMapImpl
and PersistentMapImpl
are implementing union
and intersection
only with instances of their type and not with any ReadMap
as expected (not even TransientMap
or PersistentMap
).
This will not work with custom ReadMap
s.
syslo commented
Note that union and intersection are moved to the PersistentMap
now. However, implementation is still just for PersistentMapImpl