title: MismatchedTypes layout: article

MismatchedTypes occurs when operand types are incompatible in a binary
operation.

Example:
 var a = "hello"
 var b = 1
 var c = a - b