hardhat-vscode
hardhat-vscode copied to clipboard
[Bug] "textDocument/rename" renameSymbol does not handle invocation of functions with named parameters
When using named function parameters during a function invocation, like foo({ bar: 42, paz: 36}). Rename action does not properly handle these named parameters
Reproduction Repo: https://github.com/DrakeEvans/tools-for-solidity-bug/blob/master/src/Counter.sol Steps:
Highlight newNumber on line 9, execute renameAction newNumber on lines 8 & 11 will be renamed but newNumber on line 15 is not.