Variable &#039;myInt&#039; has type: int