Skip to content

Weird error with "\s" #722

@lionel-

Description

@lionel-

Reported by @hadley

Evaluating "\s" in the console gives a weird error:

Image

I traced it down to R_ParseVector() throwing an error instead of returning a syntax error code. This causes the control flow to end up in this safeguard path:

let status = unwrap!(harp::parse_status(&harp::ParseInput::Text(input)), Err(err) => {
.

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