Error (typechecking) Type mismatch. Expected: int Given: char