提交 b971d631 编写于 作者: G Graydon Hoare

Fix missing case in resolve, un-XFAIL rec-tup.rs.

上级 47f0729d
...@@ -542,6 +542,7 @@ TEST_XFAILS_SELF := $(filter-out \ ...@@ -542,6 +542,7 @@ TEST_XFAILS_SELF := $(filter-out \
multiline-comment.rs \ multiline-comment.rs \
readalias.rs \ readalias.rs \
rec.rs \ rec.rs \
rec-tup.rs \
return-nil.rs \ return-nil.rs \
tup.rs \ tup.rs \
u32-decr.rs \ u32-decr.rs \
......
...@@ -105,6 +105,7 @@ fn in_scope(ast.ident i, &scope s) -> option.t[def] { ...@@ -105,6 +105,7 @@ fn in_scope(ast.ident i, &scope s) -> option.t[def] {
case (ast.item_mod(_, ?m, _)) { case (ast.item_mod(_, ?m, _)) {
ret check_mod(i, m); ret check_mod(i, m);
} }
case (_) { /* fall through */ }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册