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

Linked PRs

Metadata

Metadata

Assignees

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