nushell/crates/nu-protocol/src/value
Reilly Wood 705f12c1d9
Fix cell path when getting columns of non-records (#7508)
A follow-up to #7497. That change made it so that `get foo` would
eliminate non-record rows; I think that was an unintentional and
undesirable side-effect.

Before #7497:
```bash
〉[$nothing, { item: "foo" }] | get item
╭───┬─────╮
│ 0 │     │
│ 1 │ foo │
╰───┴─────╯
```
After #7497:
```bash
〉[$nothing, {item: "foo"}] | get item
╭───┬─────╮
│ 0 │ foo │
╰───┴─────╯
```

After this PR:
```bash
〉[$nothing, { item: "foo" }] | get item
╭───┬─────╮
│ 0 │     │
│ 1 │ foo │
╰───┴─────╯
```

cc: @merelymyself
2022-12-17 09:14:12 -08:00
..
custom_value.rs SQLite overhaul: custom value, query db command (#5247) 2022-04-20 16:58:21 +12:00
from_value.rs Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00
from.rs filesize conversion (#5770) 2022-06-13 14:44:32 -05:00
mod.rs Fix cell path when getting columns of non-records (#7508) 2022-12-17 09:14:12 -08:00
range.rs Add helper method to check whether ctrl+c was pressed, adopt it (#7482) 2022-12-15 09:39:24 -08:00
stream.rs Add helper method to check whether ctrl+c was pressed, adopt it (#7482) 2022-12-15 09:39:24 -08:00
unit.rs Remove month and year duration constants (#6613) 2022-09-26 09:55:13 +13:00