Skip to content

Commit 3a920e7

Browse files
committed
Fix missing case in ty.
1 parent bc21965 commit 3a920e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/comp/middle/ty.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ fn ty_to_str(&@t typ) -> str {
247247
s = "<T" + util.common.istr(v) + ">";
248248
}
249249

250+
case (ty_local(?id)) {
251+
s = "<L" + util.common.istr(id._0) + ":" + util.common.istr(id._1)
252+
+ ">";
253+
}
254+
250255
case (ty_param(?id)) {
251256
s = "<P" + util.common.istr(id._0) + ":" + util.common.istr(id._1)
252257
+ ">";

0 commit comments

Comments
 (0)