i4l: errors with assignments in if