Skip to content

bug: false error in for statement #402

@hkimura-intersys

Description

@hkimura-intersys

Getting an error on a valid for statement that has an inline block comment in between the keyword and expression. For example:
Image

but it shouldn't be an error, as it compiles and executes:

Image

I think this parser automatically classifies this as an argumentless statement, so then when it sees the expression it thinks there is an error, but in this case that comment is allowed in between the keyword and expression, and it should still classify it as a statement with an argument (condition).

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