mirror of
https://github.com/nushell/nushell.git
synced 2025-05-01 00:24:29 +02:00
# Description Fixes: #15049 The error occurs when using an alias with a module prefix, it can initially pass through alias checking, but if the alias leads to commands which have side effects, it doesn't call these functions to apply side effects. This pr ensure that in such cases, nushell still calls `parse_overlay_xxx` functions to apply the side effects. I want to make my test easier to write, so this pr depends on https://github.com/nushell/nushell/pull/15054. # User-Facing Changes The following code will no longer raise an error: ``` module inner {} module spam { export alias b = overlay use inner } use spam spam b ``` # Tests + Formatting Added 2 tests. # After Submitting NaN |
||
---|---|---|
.. | ||
assets/nu_json | ||
const_ | ||
eval | ||
fixtures | ||
hooks | ||
modules | ||
overlays | ||
parsing | ||
path | ||
plugin_persistence | ||
plugins | ||
repl | ||
scope | ||
shell | ||
main.rs |