mirror of
https://github.com/nushell/nushell
synced 2025-01-09 19:59:02 +00:00
328f7e92a0
* Add alias interning Now, AliasId is used to reference aliases stored in EngineState, similar to decls, blocks, etc. * Fix wrong message * Fix using decl instead of alias * Extend also alias id visibility * Merge also aliases from delta * Add alias hiding code Does not work yet but passes tests at least. * Fix wrong alias lookup and visibility appending * Add hide alias tests * Fmt & Clippy * Fix random clippy warnings in "which" command
5 lines
129 B
Rust
5 lines
129 B
Rust
pub type VarId = usize;
|
|
pub type DeclId = usize;
|
|
pub type AliasId = usize;
|
|
pub type BlockId = usize;
|
|
pub type OverlayId = usize;
|