Skip to content

Walrus operator throws #3

@artificial-smahon

Description

@artificial-smahon

Parsing python that uses the walrus operator is throwing errors.

if e := tc.get("exception"):

line 78:18 extraneous input '=' expecting {STRING, NUMBER, 'return', 'raise', 'from', 'import', 'global', 'nonlocal', 'assert', 'lambda', 'not', 'None', 'True', 'False', 'yield', 'del', 'pass', 'continue', 'break', 'await', NEWLINE, NAME, '...', '*', '(', '[', '+', '-', '~', '{'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions