Skip to content

Add better error for '=+' typo #164

@sderickson

Description

@sderickson

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
    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