Open Tsuk1ko opened 3 years ago
Confirming that something is wrong with the way its parsing the definition of the function, in the case shwon below, it should pick up op2
, and it is picking up Project
right before it instead
trying to add a parameter after this confirms this by calling it op2
I'm guessing the issue resides in this split right here https://github.com/imliam/vscode-inline-parameters/blob/master/src/drivers/abstract-javascript.ts#L25
The third parameter should be
accumulator
. It seems that the comma in generics make parameter splitting wrong.