Port the compiler to the ivec type [T] syntax.
This commit is contained in:
parent
50f97cb368
commit
8b15045224
50 changed files with 832 additions and 831 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue