I think this should be parenthesized? `if (imp && (prot == PROTpublic || prot == PROTprotected))`