
Just like the "in" operator in the previous patch, "instanceof" has a lower precedence than negation, resulting in the nonsense condition of "true instanceof BaseIcon". Add parentheses to get the intended behavior. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375