8000 Trying to select from a number panics in interactive mode · Issue #16 · alecthomas/t · GitHub
[go: up one dir, main page]

Skip to content
< C7C5 link rel="modulepreload" href="https://github.githubassets.com/assets/chunk-dynamic-github-ui--issues--route-components-fe2e6a444ed0fa48.js" crossorigin="anonymous" />

Trying to select from a number panics in interactive mode #16

Open

Description

@isuffix

Running:

echo 123 > file
t -i file
# type "n@0"

causes t to crash with the message: panicked at src/interpreter.rs:83:19: context should have root value.

Just running t n@0 file normally, yields Error: cannot select from number.

It would be great if that error could just be displayed instead of crashing :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0