Parse || operator with non-primitive types on either side