diff options
| author | Graydon Hoare <[email protected]> | 2010-10-18 16:15:25 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-10-18 16:15:25 -0700 |
| commit | 865bbae685fbf9bd1583a3f1715dd8093c0cbda2 (patch) | |
| tree | 76ccfd49924368ddebaabe535ec02e9b654f7247 /src/comp/middle/trans.rs | |
| parent | Disable use of parametric tail call in map.rs, they don't presently work. (diff) | |
| download | rust-865bbae685fbf9bd1583a3f1715dd8093c0cbda2.tar.xz rust-865bbae685fbf9bd1583a3f1715dd8093c0cbda2.zip | |
More work on resolving names in rustc. Basic expr_name lookup working on items and args.
Diffstat (limited to 'src/comp/middle/trans.rs')
| -rw-r--r-- | src/comp/middle/trans.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index b43dff0e..a8bb23ac 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -730,7 +730,7 @@ fn trans_item(@trans_ctxt cx, &str name, &ast.item item) { case (ast.item_fn(?f, _)) { trans_fn(sub_cx, f); } - case (ast.item_mod(?m)) { + case (ast.item_mod(?m, _)) { trans_mod(sub_cx, m); } } |