SCL-7465 fix typing for infix expression