Add representation for by-ref let bindings

Issue #918
This commit is contained in:
Marijn Haverbeke 2011-09-15 11:42:56 +02:00
parent 197f360e30
commit 1cda74deee
12 changed files with 31 additions and 19 deletions

View file

@ -149,7 +149,9 @@ type local = spanned<local_>;
type decl = spanned<decl_>;
tag decl_ { decl_local([@local]); decl_item(@item); }
tag let_style { let_copy; let_ref; }
tag decl_ { decl_local([(let_style, @local)]); decl_item(@item); }
type arm = {pats: [@pat], guard: option::t<@expr>, body: blk};