rustc: Assign ty_bot to nodes in write::bot_ty. Remove FIXME

This commit is contained in:
Brian Anderson 2011-05-21 13:02:58 -04:00
parent 779dd809d2
commit 418b4c4567

View file

@ -427,8 +427,7 @@ mod write {
// Writes the bottom type into the node type table.
fn bot_ty(&ty::ctxt tcx, uint node_id) {
// FIXME: Should be mk_bot(), but this breaks lots of stuff.
be ty(tcx, node_id, tup(none[vec[ty::t]], ty::mk_nil(tcx)));
be ty(tcx, node_id, tup(none[vec[ty::t]], ty::mk_bot(tcx)));
}
}