mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 00:54:56 +02:00
adding tests to notice regressions on this issue Co-authored-by: hk <alexhaka10@protonmail.com>
This commit is contained in:
@ -1173,7 +1173,7 @@ impl Expression {
|
||||
output.extend(item.get_free_variables(known_variables));
|
||||
}
|
||||
}
|
||||
Expression::Invocation(block) => {
|
||||
Expression::Invocation(block) | Expression::Block(block) => {
|
||||
output.extend(block.get_free_variables(known_variables));
|
||||
}
|
||||
Expression::Binary(binary) => {
|
||||
|
Reference in New Issue
Block a user