From b971d6312e76fb592bf46bd7369837fa78e86893 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Wed, 8 Dec 2010 11:52:34 -0800 Subject: [PATCH] Fix missing case in resolve, un-XFAIL rec-tup.rs. --- src/Makefile | 1 + src/comp/middle/resolve.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile index 366263bd77e..041084c3759 100644 --- a/src/Makefile +++ b/src/Makefile @@ -542,6 +542,7 @@ TEST_XFAILS_SELF := $(filter-out \ multiline-comment.rs \ readalias.rs \ rec.rs \ + rec-tup.rs \ return-nil.rs \ tup.rs \ u32-decr.rs \ diff --git a/src/comp/middle/resolve.rs b/src/comp/middle/resolve.rs index 498596d6000..dca7479c15a 100644 --- a/src/comp/middle/resolve.rs +++ b/src/comp/middle/resolve.rs @@ -105,6 +105,7 @@ fn lookup_name(&env e, ast.ident i) -> option.t[def] { case (ast.item_mod(_, ?m, _)) { ret check_mod(i, m); } + case (_) { /* fall through */ } } }