vyper
vyper copied to clipboard
incorrect typo position reported for `staticall`
The Vyper grammar expects staticcall
to be used as a keyword. However, when staticall
(missing 'c') is typed, the error is incorrectly reported at a different location in the code. This misplacement of the error message makes it challenging to identify and fix what would otherwise be a simple typo.
Here's an example: