nushell/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
..
main.rs Use list completions and better expansion 2021-10-05 10:37:32 +13:00
tests.rs Make predeclarations scoped; Add hiding tests 2021-10-10 14:31:13 +03:00