GROOVY-6527 fix check binary operator