A few help cleanups (#372)

This commit is contained in:
JT
2021-11-28 07:16:20 +13:00
committed by GitHub
parent 63c3d19c67
commit f7f8b0dbff
4 changed files with 99 additions and 12 deletions

View File

@ -194,7 +194,7 @@ pub fn flatten_expression(
output
}
Expr::Keyword(_, span, expr) => {
let mut output = vec![(*span, FlatShape::Operator)];
let mut output = vec![(*span, FlatShape::InternalCall)];
output.extend(flatten_expression(working_set, expr));
output
}