Debug failure for invalid type alias statement #7933
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Describe the bug
It seems like the server is failing to possibly log the syntax error for the following code:
Here,
def
is a keyword but is not allowed in that position, only soft keywords are allowed there.Code or Screenshots
The code is mentioned above. The error traceback is:
VS Code extension or command-line
I've tried it using both and I'm getting the same error on both:
pyright 1.1.363
v2024.5.1
The text was updated successfully, but these errors were encountered: