Check for `_ as x` in patterns