Fix: function arguments now count towards no-shadow check (fixes #1584)