mirror of
https://github.com/danbulant/nushell
synced 2026-05-23 06:19:25 +00:00
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.
|
||
|---|---|---|
| .. | ||
| errors.rs | ||
| flatten.rs | ||
| lex.rs | ||
| lib.rs | ||
| lite_parse.rs | ||
| parse_keywords.rs | ||
| parser.rs | ||
| type_check.rs | ||