Tuple types back, not constructable yet
This commit is contained in:
parent
25b85df370
commit
9538b00363
17 changed files with 278 additions and 16 deletions
|
@ -120,6 +120,11 @@ fn enc_sty(w: &io::writer, cx: &@ctxt, st: &ty::sty) {
|
|||
for t: ty::t in tys { enc_ty(w, cx, t); }
|
||||
w.write_char(']');
|
||||
}
|
||||
ty::ty_tup(mts) {
|
||||
w.write_str("T[");
|
||||
for mt in mts { enc_mt(w, cx, mt); }
|
||||
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_ptr(mt) { w.write_char('*'); enc_mt(w, cx, mt); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue