Skip to content

If statement and "=>" #1

Description

@Champii

If/Else statements cannot have a "=>" into quotes anywhere if they are multilines because of the preprocessor that adds ';' after the predicate expression in order to disambiguate with the following block

if someStr == "=>" // That fails
  doSomething()

Temporary workaround: Put the incriminated string into a variable outside of the if/else statement

Even if its a very specific issue, we need to ignore what's in the quotes when doing that kind of changes

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