about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-11-02 11:27:32 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-02 12:20:11 +0100
commit7ed7e7fa7975205a0c45e94909c812e231083457 (patch)
tree34c362ffc3ffefa8551968157a12e44eafbe1b6a /src/comp
parent74e4b3b5c1fa0206fabcaa15438f5d3f5a801f82 (diff)
Fix printing of parameterized tag types in ppaux
It was printing option::t[int] instead of option::t<int>
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/util/ppaux.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/util/ppaux.rs b/src/comp/util/ppaux.rs
index b9197f1a63f..d18a91f0d00 100644
--- a/src/comp/util/ppaux.rs
+++ b/src/comp/util/ppaux.rs
@@ -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
           }