Skip to content

Commit 2936371

Browse files
author
Rafael Avila de Espindola
committed
Add missing case to ty_to_str.
Disable test that now fails because we produce undefined references to the native functions.
1 parent f50caa7 commit 2936371

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,6 @@ TEST_XFAILS_RUSTC := $(filter-out \
507507
linear-for-loop.rs \
508508
multiline-comment.rs \
509509
mutual-recursion-group.rs \
510-
native2.rs \
511510
obj-drop.rs \
512511
obj-recursion.rs \
513512
obj-with-vec.rs \

src/comp/middle/ty.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ fn ty_to_str(&@t typ) -> str {
210210
}
211211

212212
alt (typ.struct) {
213+
case (ty_native) { s = "native"; }
213214
case (ty_nil) { s = "()"; }
214215
case (ty_bool) { s = "bool"; }
215216
case (ty_int) { s = "int"; }

0 commit comments

Comments
 (0)