Fix local declarations of function's arguments

Function arguments are declared into current context. This is required since function's arguments are visible in the scope of the function's body.