- changed status to resolved
Option.defined() is unsafe
Issue #21
resolved
The signature is currently
<A> Predicate<? super A> defined()
but it is only safe if A is an Option instance.
So it should probably be changed to
<A> Predicate<Option<A>> defined()
Comments (1)
-
- Log in to comment
very good find, thank you very much!
fixed in 2.2.1