Skip to content

Error in source yields infinite iterator #118

Open
@nithinmuthukumar

Description

@nithinmuthukumar

let tokens = lex("print(", Mode::Expression);
tokens is an infinite iterator when the source contains an error.
Is it intended behaviour for the iterator to be infinite?

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