idea-oo: fix #18. bugfix in type resolution for binary expressions with primitives.