Function arguments now count towards no-shadow check (fixes #1584)