According to its type signature, RrbTree#ImRrbt.split() returns Tuple2<ImRrbt<E>,ImRrbt<E>>. But after updating to 3.7.1, it actually returns Tuple2<MutRrbt<E>,ImRrbt<E>> (at least in some cases), resulting in the following ClassCastException:
class org.organicdesign.fp.collections.RrbTree$MutRrbt cannot be cast to class org.organicdesign.fp.collections.RrbTree$ImRrbt (org.organicdesign.fp.collections.RrbTree$MutRrbt and org.organicdesign.fp.collections.RrbTree$ImRrbt are in unnamed module of loader 'app')
According to its type signature,
RrbTree#ImRrbt.split()
returnsTuple2<ImRrbt<E>,ImRrbt<E>>
. But after updating to 3.7.1, it actually returnsTuple2<MutRrbt<E>,ImRrbt<E>>
(at least in some cases), resulting in the following ClassCastException:Same with 3.7.0.