You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2019. It is now read-only.
I'm not sure we can fix this, nor am I sure there is a unique solution. && and || are not actually functions because they short-circuit, so we can't override them for NA. The short-circuiting behavior is also conceptually problematic: It's not clear what NA || error("hello world") is supposed to do.
This is deliberate, as julia require all conditions for conditionals to be of type Bool. We could do an implicit convert(Bool, x) when the type doesn't match, but I think you'll have trouble convincing @StefanKarpinski and @JeffBezanson that it is a good idea.
Nothing prevents your from calling convert on NA manually though.
The text was updated successfully, but these errors were encountered: