nushell/crates/nu-protocol/src
Jakub Žádník 77c520e10b Make predeclarations scoped; Add hiding tests
In some rare cases, the global predeclarations would clash, for example:

  > module spam { export def foo [] { "foo" } }; def foo [] { "bar" }

In the example, the `foo [] { "bar" }` would get predeclared first, then
the predeclaration would be overwritten and consumed by `foo [] {"foo"}`
inside the module, then when parsing the actual `foo [] { "bar" }`, it
would not find its predeclaration.
2021-10-10 14:31:13 +03:00
..
ast More external cleanup 2021-10-09 11:30:10 +13:00
engine Make predeclarations scoped; Add hiding tests 2021-10-10 14:31:13 +03:00
value Add inline attribute and address warning 2021-10-09 19:44:03 +02:00
example.rs example unit test 2021-10-09 14:10:10 +01:00
id.rs Add nu-protocol 2021-09-02 13:29:43 +12:00
lib.rs move value into its own folder 2021-09-07 22:26:57 -04:00
shell_error.rs Port help and start porting split 2021-10-09 14:02:01 +13:00
signature.rs Fix the for loop to create vars 2021-10-10 05:10:46 +13:00
span.rs Add unit parsing and eval support 2021-10-05 15:27:39 +13:00
syntax_shape.rs Add path completions 2021-10-05 08:21:31 +13:00
ty.rs Add unit parsing and eval support 2021-10-05 15:27:39 +13:00