More external cleanup

This commit is contained in:
JT
2021-10-09 11:30:10 +13:00
parent b654415494
commit 64d83142c3
4 changed files with 15 additions and 25 deletions

View File

@ -63,8 +63,8 @@ pub fn flatten_expression(
}
output
}
Expr::ExternalCall(name, args) => {
let mut output = vec![(*name, FlatShape::External)];
Expr::ExternalCall(_, name_span, args) => {
let mut output = vec![(*name_span, FlatShape::External)];
for arg in args {
//output.push((*arg, FlatShape::ExternalArg));