Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal command runner panics for some inputs #676

Closed
sophiajt opened this issue Sep 16, 2019 · 1 comment
Closed

Internal command runner panics for some inputs #676

sophiajt opened this issue Sep 16, 2019 · 1 comment
Assignees

Comments

@sophiajt
Copy link
Contributor

Recent parser changes panic for some seemingly correct inputs. Here's one example:

> ls | echo $it.name
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ShellError { error: MissingProperty { subpath: Source(Tagged { tag: Tag { origin: Some(00000000-0000-0000-0000-000000000000), span: Span { start: 11, end: 13 } }, item: "nothing" }), expr: Source(Tagged { tag: Tag { origin: Some(00000000-0000-0000-0000-000000000000), span: Span { start: 14, end: 18 } }, item: "name" }) }, cause: None }', src/libcore/result.rs:1165:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
@sophiajt
Copy link
Contributor Author

Will be fixed by #677

@sophiajt sophiajt changed the title Parser panics for some inputs Internal command runner panics for some inputs Sep 17, 2019
Hofer-Julian pushed a commit to Hofer-Julian/nushell that referenced this issue Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants