'Typing of bitwise boolean array expression can be incorrect
(issue #1813).'

def test_bitwise_arrayexpr(self):

    @njit
    def foo(a, b):
        return (~ (a & (~ b)))
    a = np.array([True, True, False, False])
    b = np.array([False, True, False, True])
    expect = foo.py_func(a, b)
    got = foo(a, b)
    self.assertPreciseEqual(got, expect)
