unusedArguments
does not work with functions calling functions with the same labels
#1902
Labels
unusedArguments
does not work with functions calling functions with the same labels
#1902
I have a code like this:
This code does not change after being formatted. However, the argument
foo
is not used inside the functiong
, so it should befunc g(foo _: Int)
(since theunusedArguments
option is enabled by default.)If you comment out the call of
f
insideg
, the code will be formatted properly.So maybe this strange behavior comes from
f
andg
having the same argument labelfoo
?Environment
The text was updated successfully, but these errors were encountered: