Skip to content

Commit 9afd12f

Browse files
committed
---
yaml --- r: 7325 b: refs/heads/master c: b3927d6 h: refs/heads/master i: 7323: fd712f6 v: v3
1 parent 712ab41 commit 9afd12f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: d673f76fdf39143f81f842471088d50a80f37dcb
2+
refs/heads/master: b3927d605255c806ddf4654fae1bf72d5c0ca55a

trunk/src/comp/metadata/tyencode.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,11 @@ fn enc_sty(w: io::writer, cx: @ctxt, st: ty::sty) {
190190
w.write_char(']');
191191
}
192192
ty::ty_named(t, name) {
193-
w.write_char('"');
194-
w.write_str(*name);
195-
w.write_char('"');
193+
if cx.abbrevs != ac_no_abbrevs {
194+
w.write_char('"');
195+
w.write_str(*name);
196+
w.write_char('"');
197+
}
196198
enc_ty(w, cx, t);
197199
}
198200
}

0 commit comments

Comments
 (0)