nushell/src
est31 1277bfe0fb Fix setting configuration params
Fixes #627

Fixes a regression caused by #579, specifically commit cc8872b4ee .

The code was intended to perform a comparison between the wanted
output type and "Tagged<Value>" in order to be able to provide a
special-cased path for Tagged<Value>. When I wrote the code, I
used "name" as a variable name and only later realized that it
shadowed the "name" param to the function, so I renamed it to
type_name, but forgot to change the comparison.
This broke the special-casing, as the name param only contains
the name of the struct without generics (like "Tagged"), while
`std::any::type_name` (in the current implementation) contains
the full paths of the struct including all generic params
(like "nu::object::meta::Tagged<nu::object::base::Value>").
2019-09-09 13:22:18 +02:00
..
commands Make some plugins optional, move ps to plugin 2019-09-08 19:06:15 +12:00
data Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
env Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
evaluate Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
format Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
parser Fix setting configuration params 2019-09-09 13:22:18 +02:00
plugins Make some plugins optional, move ps to plugin 2019-09-08 19:06:15 +12:00
shell cd '-' valueshell implementation and valueshell refactorings. 2019-09-08 05:40:47 -05:00
cli.rs Make some plugins optional, move ps to plugin 2019-09-08 19:06:15 +12:00
commands.rs Make some plugins optional, move ps to plugin 2019-09-08 19:06:15 +12:00
context.rs This commit introduces a basic help feature. We can go to it 2019-08-31 19:06:11 -05:00
data.rs Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
env.rs Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
errors.rs Remove unused code 2019-09-01 23:11:05 -07:00
format.rs Remove unused code 2019-09-01 23:11:05 -07:00
git.rs Fix formatting with cargo fmt 2019-08-26 20:19:05 +02:00
lib.rs Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
main.rs use clap::crate_version!() 2019-08-24 12:38:18 -04:00
parser.rs Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
plugin.rs Remove unused code 2019-09-01 23:11:05 -07:00
prelude.rs Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
shell.rs This commit introduces a basic help feature. We can go to it 2019-08-31 19:06:11 -05:00
stream.rs Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
traits.rs Remove usage of in_band_lifetimes feature 2019-08-30 01:32:31 +09:00
utils.rs Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00