Address issues flagged in review

This commit is contained in:
Marcus Klaas de Vries 2019-01-18 00:41:02 +01:00 committed by Aleksey Kladov
parent 5027c5d4ee
commit b5466f3fb3
4 changed files with 90 additions and 120 deletions

View file

@ -97,8 +97,6 @@ impl FnScopes {
};
self.scopes[scope].entries.push(entry)
}
// FIXME: isn't every call to add_binding starting an entirely new
// tree walk!?
p => p.walk_child_pats(|pat| self.add_bindings(body, scope, pat)),
}
}