[new] Added static assert when the wrong operator is switched between Actions and Events