move scope variable into nu variable (#4725)

This commit is contained in:
JT
2022-03-04 11:36:11 -05:00
committed by GitHub
parent eef3de2d05
commit e64ca97fe2
8 changed files with 349 additions and 355 deletions

View File

@ -1556,16 +1556,6 @@ pub fn parse_variable_expr(
},
None,
);
} else if contents == b"$scope" {
return (
Expression {
expr: Expr::Var(nu_protocol::SCOPE_VARIABLE_ID),
span,
ty: Type::Unknown,
custom_completion: None,
},
None,
);
} else if contents == b"$in" {
return (
Expression {