Fix missing case in ty.

This commit is contained in:
Graydon Hoare 2011-01-17 17:24:47 -08:00
parent bc21965c98
commit 3a920e7ca8
1 changed files with 5 additions and 0 deletions

View File

@ -247,6 +247,11 @@ fn ty_to_str(&@t typ) -> str {
s = "<T" + util.common.istr(v) + ">";
}
case (ty_local(?id)) {
s = "<L" + util.common.istr(id._0) + ":" + util.common.istr(id._1)
+ ">";
}
case (ty_param(?id)) {
s = "<P" + util.common.istr(id._0) + ":" + util.common.istr(id._1)
+ ">";