From 77ff12c435aeb6181ee2678a526b6f6ea3831938 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 18 Nov 2010 14:17:17 -0800 Subject: rustboot: Don't use walk to traverse statements in type.ml; fixes redundant checking, improves diagnostics. Also report untyped slots. --- src/lib/_uint.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/_uint.rs') diff --git a/src/lib/_uint.rs b/src/lib/_uint.rs index 7fa4ea02..79b5fa24 100644 --- a/src/lib/_uint.rs +++ b/src/lib/_uint.rs @@ -55,6 +55,7 @@ fn to_str(mutable uint n, uint radix) -> str case (14u) { ret 'e'; } case (15u) { ret 'f'; } } + fail; } if (n == 0u) { ret "0"; } -- cgit v1.2.3