Fix printing of parameterized tag types in ppaux
It was printing option::t[int] instead of option::t<int>
This commit is contained in:
parent
74e4b3b5c1
commit
7ed7e7fa79
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ fn ty_to_str(cx: ctxt, typ: t) -> str {
|
|||
if vec::len::<t>(tps) > 0u {
|
||||
let strs: [str] = [];
|
||||
for typ: t in tps { strs += [ty_to_str(cx, typ)]; }
|
||||
s += "[" + str::connect(strs, ",") + "]";
|
||||
s += "<" + str::connect(strs, ",") + ">";
|
||||
}
|
||||
s
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue