alecthomas / alecthomas/t

Trying to select from a number panics in interactive mode

オープン
#16 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
260
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

説明

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 :)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。