nushell/crates/nu-parser/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
..
errors.rs Fix panic on double def; Tests; Double def error 2021-10-01 23:25:24 +03:00
flatten.rs More external cleanup 2021-10-09 11:30:10 +13:00
lex.rs multiline validation 2021-09-22 17:29:53 +12:00
lib.rs Add support for module imports 2021-09-27 07:39:19 +13:00
lite_parse.rs Merge pull request #10 from jntrnr/value_streams_in_value 2021-09-03 15:49:27 +12:00
parse_keywords.rs Make predeclarations scoped; Add hiding tests 2021-10-10 14:31:13 +03:00
parser.rs Fix the for loop to create vars 2021-10-10 05:10:46 +13:00
type_check.rs Handle not-in operator 2021-10-09 19:40:47 +02:00