upgrade kind check

This commit is contained in:
Niko Matsakis 2011-12-20 19:39:33 -08:00
parent 01cb1044f7
commit c03d14a33d
2 changed files with 53 additions and 12 deletions

View file

@ -39,6 +39,7 @@ type visitor<E> =
visit_fn_block: fn@(fn_decl, blk, span, node_id, E, vt<E>),
// Invoked by both visit_fn_proto and visit_fn_block above.
// Intended to be a common flow point for all fn decls in AST.
visit_fn_body: fn@(fn_decl, blk, span, fn_ident, node_id, E, vt<E>)};
fn default_visitor<E>() -> visitor<E> {