Consensys / vscode-solidity-auditor

Solidity language support and visual security auditor for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.solidity-visual-auditor
GNU General Public License v3.0
569 stars 60 forks source link

Bug: Named parameters incorrectly highlighted #132

Closed DrakeEvans closed 8 months ago

DrakeEvans commented 1 year ago

Solidity supports named function parameters https://docs.soliditylang.org/en/v0.8.19/control-structures.html#function-calls-with-named-parameters

however, this displays incorrect param highlighting: image

You can see that the checkpointTimestamp on the left is part of the params of the invoked function _calculateCheckpointAdd, it should not be marked with upArrow just as deltaFxs is not highlighted directly above

tintinweb commented 8 months ago

addressed with: https://github.com/tintinweb/solidity-workspace/pull/3