Add is_mutbl field to def_arg

This commit is contained in:
Seo Sanghyeon
2013-01-04 02:57:08 +09:00
committed by Tim Chevalier
parent 4dd29dee57
commit d10b5c725b
9 changed files with 14 additions and 12 deletions

View File

@@ -86,7 +86,7 @@ pure fn def_id_of_def(d: def) -> def_id {
def_use(id) | def_struct(id) => {
id
}
def_arg(id, _) | def_local(id, _) | def_self(id, _) | def_self_ty(id)
def_arg(id, _, _) | def_local(id, _) | def_self(id, _) | def_self_ty(id)
| def_upvar(id, _, _, _) | def_binding(id, _) | def_region(id)
| def_typaram_binder(id) | def_label(id) => {
local_def(id)