Skip to content

:load gives "Unrecognised command." when the filename isn't quoted #1087

Open
@MarcelineVQ

Description

@MarcelineVQ

Idris 2, version 0.3.0-5b5bdfe76

Steps to Reproduce

In a repl type each and note the difference:

:load foo.idr
:load "foo.idr"

Expected Behavior

Expect file to load (if it exists) when written either way. Or clearer message to be given since the command is valid and it's the argument that may be wrong.

Observed Behavior

:load gives "Unrecognised command." when the filename isn't quoted and the expected "Error loading file foo.idr: File Not Found" otherwise.

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