Skip to content

Improve SyntaxError suggestions for common operator typos and cross-language mistakes #151303

@Aniketsy

Description

@Aniketsy

As I proposed in #151129 (comment), we can also add suggestions for <> ("not equal" in Pascal and Python 2), "=<", "=>" and "=!" (typo in "<=", ">=" and "!="), "===" ("is" in JavaScript and PHP).

suggested by @serhiy-storchaka

"===" ("is" in JavaScript and PHP).
And Mathematica.

follow up #150906

I'll submit a PR for this . shortly

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions