Is your feature request related to a problem? Please describe.
When a solution is provided with a re-assignment, the analyzer bails out of a lot of code paths.
exportfunctiontwoFer(name='you'){constwhomst=namereturn`One for me, and one for ${whomst}.`}When a solution is provided with a re-assignment of the named argument, the analyzer doesn't recognise the shadowing:
exportfunctiontwoFer(name){name=name ? name : "you"return`One for me, and one for ${name}.`}Which exercise
two-fer
Describe the solution you'd like
Simple re-assignments like the one above should be recognised and disapproved. They don't add any value to the solution.
Re-assignments of the named arguments should be recognised and disapproved. #52 (comment)
Is your feature request related to a problem? Please describe.
When a solution is provided with a re-assignment, the analyzer bails out of a lot of code paths.
When a solution is provided with a re-assignment of the named argument, the analyzer doesn't recognise the shadowing:
Which exercise
two-ferDescribe the solution you'd like
Simple re-assignments like the one above should be recognised and disapproved. They don't add any value to the solution.
Re-assignments of the named arguments should be recognised and disapproved. #52 (comment)