Skip to content

Improve lexer error handling #24

@benkogan

Description

@benkogan

I don't think the lexer reports cause-of-failure. Not sure if it should never fail or rather report errors (I'm tired rn). If the latter, it should probably use the ThrowsError type so it doesn't crash the repl.

You can trigger a lex error like so:

apollo> ~~
apollo: lexical error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions