Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

REPL should not exit if invalid function #1820

@agguser

Description

@agguser
$ mlr repl
Miller 6.13.0 REPL for linux/amd64/go1.23.2
Docs: https://miller.readthedocs.io
Type ':h' or ':help' for online help; ':q' or ':quit' to quit.
[mlr] xprint 123   # not exit if invalid keyword
mlr: cannot parse DSL expression.
…
[mlr] xvar   # not exit if invalid variable
(absent)
[mlr] xlength(123)   # but exit if invalid function!
mlr: function name not found: xlength

$ echo $?
1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions