1
Fork 0

Convert ty::ty_uniq to contain a mutable type

Issue #409
This commit is contained in:
Brian Anderson 2011-09-21 18:54:54 -07:00
parent 4d088bd528
commit 1b3023e4d0
9 changed files with 45 additions and 29 deletions

View file

@ -123,7 +123,7 @@ fn enc_sty(w: io::writer, cx: @ctxt, st: ty::sty) {
w.write_char(']');
}
ty::ty_box(mt) { w.write_char('@'); enc_mt(w, cx, mt); }
ty::ty_uniq(t) { w.write_char('~'); enc_ty(w, cx, t); }
ty::ty_uniq(mt) { w.write_char('~'); enc_mt(w, cx, mt); }
ty::ty_ptr(mt) { w.write_char('*'); enc_mt(w, cx, mt); }
ty::ty_vec(mt) { w.write_char('I'); enc_mt(w, cx, mt); }
ty::ty_rec(fields) {