vyper icon indicating copy to clipboard operation
vyper copied to clipboard

incorrect typo position reported for `staticall`

Open AlbertoCentonze opened this issue 5 months ago • 1 comments

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: image

AlbertoCentonze avatar Sep 04 '24 16:09 AlbertoCentonze