Skip to content

Native parser reads file eagerly if there is one file in parse batch #21514

@ilevkivskyi

Description

@ilevkivskyi

Logic in State.parse_file() calls get_source() unconditionally. And this method is still used when we have just one file in batch (and don't want to create an executor).

This is not needed, as native parser already does all the same things in Rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions