alecthomas / alecthomas/t

Trying to select from a number panics in interactive mode

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
260
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Running:
```sh
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 :)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.