mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 08:48:23 +01:00
Fix shorthand env duplicates (#4587)
This commit is contained in:
parent
c0a1d18e3d
commit
6670b77b27
@ -3551,14 +3551,16 @@ pub fn parse_expression(
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
(
|
let expr = Expr::Call(Box::new(Call {
|
||||||
Expression {
|
head: Span { start: 0, end: 0 },
|
||||||
expr: Expr::Call(Box::new(Call {
|
|
||||||
head: span(spans),
|
|
||||||
decl_id,
|
decl_id,
|
||||||
named: vec![],
|
named: vec![],
|
||||||
positional,
|
positional,
|
||||||
})),
|
}));
|
||||||
|
|
||||||
|
(
|
||||||
|
Expression {
|
||||||
|
expr,
|
||||||
custom_completion: None,
|
custom_completion: None,
|
||||||
span: span(spans),
|
span: span(spans),
|
||||||
ty: Type::Unknown,
|
ty: Type::Unknown,
|
||||||
|
Loading…
Reference in New Issue
Block a user