Fix var type inference2

Giving it another try.
No, it's just that I had to take one more case into consideration. Brackets.