Comments only: annotate FIXMEs in front-end

This commit is contained in:
Tim Chevalier 2012-05-17 11:32:53 -07:00
parent 55c008874d
commit 9fa4763604
2 changed files with 3 additions and 2 deletions

View file

@ -32,7 +32,7 @@ mod intrinsic {
// FIXME: possibly pair these as enter/leave calls
// not just enter with implicit number of subsequent
// calls.
// calls. (#2402)
fn visit_vec_of(mutbl: uint) -> bool;
fn visit_box_of(mutbl: uint) -> bool;
fn visit_uniq_of(mutbl: uint) -> bool;

View file

@ -65,7 +65,7 @@ fn fold_mod(_cx: test_ctxt, m: ast::_mod, fld: fold::ast_fold) -> ast::_mod {
// Remove any defined main function from the AST so it doesn't clash with
// the one we're going to add. FIXME: This is sloppy. Instead we should
// have some mechanism to indicate to the translation pass which function
// we want to be main.
// we want to be main. (#2403)
fn nomain(&&item: @ast::item) -> option<@ast::item> {
alt item.node {
ast::item_fn(_, _, _) {
@ -339,6 +339,7 @@ fn mk_test_desc_rec(cx: test_ctxt, test: test) -> @ast::expr {
// Produces a bare function that wraps the test function
// FIXME: This can go away once fn is the type of bare function
// (See #1281)
fn mk_test_wrapper(cx: test_ctxt,
fn_path_expr: ast::expr,
span: span) -> @ast::expr {