Removed the obsolete ast::CallSugar (previously used by do
).
This commit is contained in:
parent
07ea23e15d
commit
6e84023596
23 changed files with 79 additions and 146 deletions
|
@ -351,11 +351,11 @@ impl CFGBuilder {
|
|||
self.straightline(expr, pred, *elems)
|
||||
}
|
||||
|
||||
ast::ExprCall(func, ref args, _) => {
|
||||
ast::ExprCall(func, ref args) => {
|
||||
self.call(expr, pred, func, *args)
|
||||
}
|
||||
|
||||
ast::ExprMethodCall(_, _, _, ref args, _) => {
|
||||
ast::ExprMethodCall(_, _, _, ref args) => {
|
||||
self.call(expr, pred, args[0], args.slice_from(1))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue