Skip to content

Commit 377e7ea

Browse files
committed
---
yaml --- r: 2044 b: refs/heads/master c: ad7aff8 h: refs/heads/master v: v3
1 parent 16dc365 commit 377e7ea

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 70bc63a3af08ed944d5f3adc0f0803016319b7c2
2+
refs/heads/master: ad7aff8203c5ad1d5a287e3205e8e6bbd6695fb3

trunk/src/comp/middle/resolve.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -335,23 +335,6 @@ fn lookup_name_wrapped(&env e, ast.ident i, namespace ns)
335335
}
336336
}
337337

338-
fn found_decl_stmt(@ast.stmt s, namespace ns) -> def_wrap {
339-
alt (s.node) {
340-
case (ast.stmt_decl(?d,_)) {
341-
alt (d.node) {
342-
case (ast.decl_local(?loc)) {
343-
auto t = ast.def_local(loc.id);
344-
ret def_wrap_other(t);
345-
}
346-
case (ast.decl_item(?it)) {
347-
ret found_def_item(it, ns);
348-
}
349-
}
350-
}
351-
}
352-
fail;
353-
}
354-
355338
fn found_def_view(@ast.view_item i) -> def_wrap {
356339
alt (i.node) {
357340
case (ast.view_item_use(_, _, ?id, _)) {

0 commit comments

Comments
 (0)