Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add better error for '=+' typo #164

Copy link
Copy link
@sderickson

Description

@sderickson
Issue body actions

from @alexholman, copied from codecombat/codecombat#3710

Related to my initial issue report: codecombat/codecombat#3709
I found my problem was typing =+ instead of += for an increment, resulting in an infinite loop condition.

This is not a very informative error for this easy typo. The code should catch the use of =+ and warn, much like it catches capitalization issues in object names and missing ':' in loops.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.