A typing error in a `tee` block reports `Other error` at unrelated codepoint.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 40.5k
- Forks
- 2.3k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 79
Description
Bug report form
- I have done a basic search of the issue tracker to find any existing issues that are similar.
- I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug
When a command is called with the wrong input type in a tee block, the reported error is misleading
How to reproduce
- Run
echo ho | tee { insert hi 5 }
- You'll see the error
which reports Other error instead of type error and reports in on the echo command instead of in the tee block.
Expected behavior
I expected nu to print the same error as if I had run just
echo ho | insert hi 5
which yields
and reports the correct codepoint for the error.
Configuration
| key | value |
|---|---|
| version | 0.106.1 |
| major | 0 |
| minor | 106 |
| patch | 1 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.88.0 (6b00bc388 2025-06-23) (built from a source tarball) |
| cargo_version | cargo 1.88.0 (873a06493 2025-05-10) |
| build_time | 1980-01-01 00:00:00 +00:00 |
| build_rust_channel | release |
| allocator | standard |
| features | default, plugin, rustls-tls, sqlite, trash-support |
| installed_plugins | query 0.100.0 |
| experimental_options | example=false, reorder-cell-paths=false |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with echo ho | tee { insert hi 5 }, then compare its error path with echo ho | insert hi 5. Trace how the tee block propagates the type error and source location; done means the command reports a type error at the failing expression in the block, matching the direct insert behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100