1
Fork 0

Port the compiler to the ivec type [T] syntax.

This commit is contained in:
Erick Tryzelaar 2011-08-04 16:20:09 -07:00 committed by Brian Anderson
parent 50f97cb368
commit 8b15045224
50 changed files with 832 additions and 831 deletions

View file

@ -199,8 +199,8 @@ fn enc_proto(w: &ioivec::writer, proto: proto) {
}
}
fn enc_ty_fn(w: &ioivec::writer, cx: &@ctxt, args: &ty::arg[], out: &ty::t,
cf: &controlflow, constrs: &(@ty::constr)[]) {
fn enc_ty_fn(w: &ioivec::writer, cx: &@ctxt, args: &[ty::arg], out: &ty::t,
cf: &controlflow, constrs: &[@ty::constr]) {
w.write_char('[');
for arg: ty::arg in args {
alt arg.mode {